chiark / gitweb /
stgit.el: Add stgit-branch-name-face
authorGustav Hållberg <gustav@virtutech.com>
Mon, 3 Aug 2009 12:43:58 +0000 (14:43 +0200)
committerGustav Hållberg <gustav@virtutech.com>
Thu, 6 Aug 2009 20:49:07 +0000 (22:49 +0200)
Signed-off-by: Gustav Hållberg <gustav@virtutech.com>
contrib/stgit.el

index c74e15d0fb20b8041bbe5e4ec8bb0bd8362e8c37..2a14fc6f3285490612b6f29438d70c18c1297ff6 100644 (file)
@@ -232,7 +232,7 @@ (defun stgit-reload ()
                           (with-temp-buffer
                             (stgit-run-silent "branch")
                             (buffer-substring (point-min) (1- (point-max))))
-                          'face 'bold)
+                          'face 'stgit-branch-name-face)
                          "\n")
                  (if stgit-show-worktree
                      "--"
@@ -256,6 +256,11 @@ (defface stgit-description-face
   "The face used for StGit descriptions"
   :group 'stgit)
 
+(defface stgit-branch-name-face
+  '((t :inherit bold))
+  "The face used for the StGit branch name"
+  :group 'stgit)
+
 (defface stgit-top-patch-face
   '((((background dark)) (:weight bold :foreground "yellow"))
     (((background light)) (:weight bold :foreground "purple"))