Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d537086b
Commit
d537086b
authored
Dec 26, 1995
by
Richard M. Stallman
Browse files
(buffers-menu-max-size): Move definition to top of file.
parent
2bc0bb03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
lisp/menu-bar.el
lisp/menu-bar.el
+8
-6
No files found.
lisp/menu-bar.el
View file @
d537086b
...
@@ -23,6 +23,14 @@
...
@@ -23,6 +23,14 @@
;; Avishai Yacobi suggested some menu rearrangements.
;; 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:
;;; Code:
;; Don't clobber an existing menu-bar keymap, to preserve any menu-bar key
;; 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,12 +432,6 @@ Do the same for the keys of the same name."
(
define-key
global-map
[menu-bar
buffer]
(
define-key
global-map
[menu-bar
buffer]
(
cons
"Buffers"
(
make-sparse-keymap
"Buffers"
)))
(
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
list-buffers-directory
nil
)
(
defvar
menu-bar-update-buffers-maxbuf
)
(
defvar
menu-bar-update-buffers-maxbuf
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment