aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-12-26 19:11:18 +0000
committerRichard M. Stallman1995-12-26 19:11:18 +0000
commitd537086b542573bb6efc5cdd13978b1073fb72f7 (patch)
treef3cdeed3b83240882a0a443e0fa84863d745e223
parent2bc0bb038c10479fe22aca38bf794a30f2bb6d5a (diff)
downloademacs-d537086b542573bb6efc5cdd13978b1073fb72f7.tar.gz
emacs-d537086b542573bb6efc5cdd13978b1073fb72f7.zip
(buffers-menu-max-size): Move definition to top of file.
-rw-r--r--lisp/menu-bar.el14
1 files changed, 8 insertions, 6 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 986f61e6c54..92c59138ff3 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -23,6 +23,14 @@
23 23
24;; Avishai Yacobi suggested some menu rearrangements. 24;; Avishai Yacobi suggested some menu rearrangements.
25 25
26;;; User options:
27
28(defvar buffers-menu-max-size 10
29 "*Maximum number of entries which may appear on the Buffers menu.
30If this is 10, then only the ten most-recently-selected buffers are shown.
31If this is nil, then all buffers are shown.
32A large number or nil slows down menu responsiveness.")
33
26;;; Code: 34;;; Code:
27 35
28;; Don't clobber an existing menu-bar keymap, to preserve any menu-bar key 36;; Don't clobber an existing menu-bar keymap, to preserve any menu-bar key
@@ -424,12 +432,6 @@ Do the same for the keys of the same name."
424(define-key global-map [menu-bar buffer] 432(define-key global-map [menu-bar buffer]
425 (cons "Buffers" (make-sparse-keymap "Buffers"))) 433 (cons "Buffers" (make-sparse-keymap "Buffers")))
426 434
427(defvar buffers-menu-max-size 10
428 "*Maximum number of entries which may appear on the Buffers menu.
429If this is 10, then only the ten most-recently-selected buffers are shown.
430If this is nil, then all buffers are shown.
431A large number or nil slows down menu responsiveness.")
432
433(defvar list-buffers-directory nil) 435(defvar list-buffers-directory nil)
434 436
435(defvar menu-bar-update-buffers-maxbuf) 437(defvar menu-bar-update-buffers-maxbuf)