[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Buffer-menu-buffer-face for the mode line
From: |
Juri Linkov |
Subject: |
Buffer-menu-buffer-face for the mode line |
Date: |
Thu, 29 Apr 2004 11:54:02 +0300 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Currently, it's impossible to customize the face used for the buffer
name in the mode line. Fortunately, there is already a suitable face
in buff-menu.el which is loaded into dumped Emacs. It could be used:
Index: lisp/bindings.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/bindings.el,v
retrieving revision 1.129
diff -u -r1.129 bindings.el
--- lisp/bindings.el 10 Jan 2004 01:19:53 -0000 1.129
+++ lisp/bindings.el 29 Apr 2004 08:40:29 -0000
@@ -460,7 +460,7 @@
FMT is a format specifier such as \"%12b\". This function adds
text properties for face, help-echo, and local-map to it."
(list (propertize fmt
- 'face '(:weight bold)
+ 'face 'Buffer-menu-buffer-face
'help-echo
(purecopy "mouse-1: previous buffer, mouse-3: next buffer")
'local-map mode-line-buffer-identification-keymap)))
--
Juri Linkov
http://www.jurta.org/emacs/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Buffer-menu-buffer-face for the mode line,
Juri Linkov <=