emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/bindings.el,v


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/bindings.el,v
Date: Mon, 11 Sep 2006 07:11:23 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Stefan Monnier <monnier>        06/09/11 07:11:22

Index: bindings.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/bindings.el,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -b -r1.166 -r1.167
--- bindings.el 6 Aug 2006 00:32:33 -0000       1.166
+++ bindings.el 11 Sep 2006 07:11:21 -0000      1.167
@@ -337,13 +337,10 @@
   (put 'mode-line-position 'standard-value
        (list `(quote ,standard-mode-line-position))))
 
-(defvar mode-line-buffer-identification-keymap nil "\
-Keymap for what is displayed by `mode-line-buffer-identification'.")
-
-;; Add menu of buffer operations to the buffer identification part
-;; of the mode line.or header line.
-;
-(let ((map (make-sparse-keymap)))
+(defvar mode-line-buffer-identification-keymap
+  ;; Add menu of buffer operations to the buffer identification part
+  ;; of the mode line.or header line.
+  (let ((map (make-sparse-keymap)))
   ;; Bind down- events so that the global keymap won't ``shine
   ;; through''.
   (define-key map [mode-line mouse-1] 'mode-line-previous-buffer)
@@ -353,7 +350,8 @@
   (define-key map [mode-line mouse-3] 'mode-line-next-buffer)
   (define-key map [header-line down-mouse-3] 'ignore)
   (define-key map [header-line mouse-3] 'mode-line-next-buffer)
-  (setq mode-line-buffer-identification-keymap map))
+    map) "\
+Keymap for what is displayed by `mode-line-buffer-identification'.")
 
 (defun propertized-buffer-identification (fmt)
   "Return a list suitable for `mode-line-buffer-identification'.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]