Skip to content

Commit

Permalink
do not let color themes override tabbar faces
Browse files Browse the repository at this point in the history
  • Loading branch information
davidswelt committed Apr 28, 2008
1 parent ec36fe3 commit 9a16907
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions aquamacs-tabbar.el
Expand Up @@ -5,7 +5,7 @@
;; Author: Nathaniel Cunningham <nathaniel.cunningham@gmail.com>
;; Maintainer: Nathaniel Cunningham <nathaniel.cunningham@gmail.com>
;; Created: February 2008
;; Revision: $Id: aquamacs-tabbar.el,v 1.14 2008/04/26 15:10:22 davidswelt Exp $
;; Revision: $Id: aquamacs-tabbar.el,v 1.15 2008/04/28 11:56:57 davidswelt Exp $

;; load original tabbar-mode
(require 'tabbar)
Expand Down Expand Up @@ -60,6 +60,8 @@ to be closed. If no tab is specified, (tabbar-selected-tab) is used"
:weight 'normal
:background "gray50"
:foreground "black"
;; :box '(:line-width 2 :color "white" :style nil)
:box nil
:family "lucida grande")

(set-face-attribute 'tabbar-selected nil
Expand Down Expand Up @@ -92,7 +94,7 @@ to be closed. If no tab is specified, (tabbar-selected-tab) is used"

(set-face-attribute 'tabbar-separator nil
:background "grey50"
:foreground "grey50"
:foreground "grey50"
:height 1.0)


Expand All @@ -116,6 +118,9 @@ to be closed. If no tab is specified, (tabbar-selected-tab) is used"
"Face used for unselected tabs."
:group 'tabbar)

;; do not let color themes override tabbar faces
(aquamacs-set-defaults '((color-theme-illegal-faces "^\\(w3-\\|tabbar-\\)")))

;; redefine tab labels, adding leading and trailing spaces for clarity
(defun tabbar-buffer-tab-label (tab)
"Return a label for TAB.
Expand Down

0 comments on commit 9a16907

Please sign in to comment.