From d537086b542573bb6efc5cdd13978b1073fb72f7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 26 Dec 1995 19:11:18 +0000 Subject: [PATCH] (buffers-menu-max-size): Move definition to top of file. --- lisp/menu-bar.el | 14 ++++++++------ 1 file 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 @@ ;; 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) -- 2.39.2