From: Richard M. Stallman Date: Tue, 26 Dec 1995 19:11:18 +0000 (+0000) Subject: (buffers-menu-max-size): Move definition to top of file. X-Git-Tag: emacs-19.34~1989 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d537086b542573bb6efc5cdd13978b1073fb72f7;p=emacs.git (buffers-menu-max-size): Move definition to top of file. --- 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)