]> git.eshelyaron.com Git - emacs.git/commitdiff
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-408
authorMiles Bader <miles@gnu.org>
Tue, 14 Jun 2005 22:49:09 +0000 (22:49 +0000)
committerMiles Bader <miles@gnu.org>
Tue, 14 Jun 2005 22:49:09 +0000 (22:49 +0000)
Remove "-face" suffix from Buffer-menu-buffer face

2005-06-14  Miles Bader  <miles@gnu.org>

   * lisp/buff-menu.el (Buffer-menu-buffer): Remove "-face" suffix from
   face name.
   (Buffer-menu-buffer-face): New backward-compatibility alias for
   renamed face.
   (list-buffers-noselect): Use renamed Buffer-menu-buffer face.

lisp/ChangeLog
lisp/buff-menu.el

index f1cb38a45e1e4731ad6611467831601c5a2e4a39..0a491e0d93e706d62a0f9c35c6b456dc5bf2cbbc 100644 (file)
@@ -1,3 +1,11 @@
+2005-06-14  Miles Bader  <miles@gnu.org>
+
+       * buff-menu.el (Buffer-menu-buffer): Remove "-face" suffix from
+       face name.
+       (Buffer-menu-buffer-face): New backward-compatibility alias for
+       renamed face.
+       (list-buffers-noselect): Use renamed Buffer-menu-buffer face.
+
 2005-06-15  Daniel Pfeiffer  <occitan@esperanto.org>
 
        * progmodes/make-mode.el (makefile-space, makefile-makepp-perl):
index 7e9115a79dcb503c0e45507c67d4803d6c7f7e73..79247ad30df03b71e47851bce79d4ccccb23bac1 100644 (file)
   :type 'boolean
   :group 'Buffer-menu)
 
-(defface Buffer-menu-buffer-face
+(defface Buffer-menu-buffer
   '((t (:weight bold)))
   "Face used to highlight buffer name."
   :group 'Buffer-menu
   :group 'font-lock-highlighting-faces)
+;; backward-compatibility alias
+(put 'Buffer-menu-buffer-face 'face-alias 'Buffer-menu-buffer)
 
 (defcustom Buffer-menu-buffer+size-width 26
   "*How wide to jointly make the buffer name and size columns."
@@ -773,7 +775,7 @@ For more information, see the function `buffer-menu'."
                                         (int-to-string (nth 3 buffer))
                                         `(buffer-name ,(nth 2 buffer)
                                           buffer ,(car buffer)
-                                          font-lock-face Buffer-menu-buffer-face
+                                          font-lock-face Buffer-menu-buffer
                                           mouse-face highlight
                                           help-echo "mouse-2: select this buffer"))
                "  "