mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-26 19:18:50 +00:00
(buffers-menu-max-size): Move definition to top of file.
This commit is contained in:
parent
2bc0bb038c
commit
d537086b54
@ -23,6 +23,14 @@
|
||||
|
||||
;; Avishai Yacobi suggested some menu rearrangements.
|
||||
|
||||
;;; User options:
|
||||
|
||||
(defvar buffers-menu-max-size 10
|
||||
"*Maximum number of entries which may appear on the Buffers menu.
|
||||
If this is 10, then only the ten most-recently-selected buffers are shown.
|
||||
If this is nil, then all buffers are shown.
|
||||
A large number or nil slows down menu responsiveness.")
|
||||
|
||||
;;; Code:
|
||||
|
||||
;; 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."
|
||||
(define-key global-map [menu-bar buffer]
|
||||
(cons "Buffers" (make-sparse-keymap "Buffers")))
|
||||
|
||||
(defvar buffers-menu-max-size 10
|
||||
"*Maximum number of entries which may appear on the Buffers menu.
|
||||
If this is 10, then only the ten most-recently-selected buffers are shown.
|
||||
If this is nil, then all buffers are shown.
|
||||
A large number or nil slows down menu responsiveness.")
|
||||
|
||||
(defvar list-buffers-directory nil)
|
||||
|
||||
(defvar menu-bar-update-buffers-maxbuf)
|
||||
|
Loading…
Reference in New Issue
Block a user