Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
32993295
Commit
32993295
authored
Oct 12, 2001
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(minibuffer-local-*map): Take inheritance into account.
parent
01f9ba17
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
lisp/ChangeLog
lisp/ChangeLog
+7
-0
lisp/menu-bar.el
lisp/menu-bar.el
+5
-11
No files found.
lisp/ChangeLog
View file @
32993295
2001-10-12 Stefan Monnier <monnier@cs.yale.edu>
* menu-bar.el (minibuffer-local-*map): Take inheritance into account.
* simple.el (minibuffer-local*-map): Remove redundant bindings.
* bindings.el (minibuffer-local-map): Also bind next, C-n, C-s, prior,
C-p and C-r. Remove redundant bindings from inheriting maps.
* progmodes/cperl-mode.el: Merged in changes from v4.32.
After 4.23 and: After 4.24:
(cperl-contract-levels): Restore position.
...
...
lisp/menu-bar.el
View file @
32993295
...
...
@@ -1170,16 +1170,14 @@ key (or menu-item)"))
;;; Set up a menu bar menu for the minibuffer.
(
dolist
(
map
(
list
minibuffer-local-ns-map
minibuffer-local-must-match-map
minibuffer-local-isearch-map
minibuffer-local-map
(
dolist
(
map
(
list
minibuffer-local-map
;; This shouldn't be necessary, but there's a funny
;; bug in keymap.c that I don't understand yet. -stef
minibuffer-local-completion-map
))
(
define-key
map
[menu-bar
minibuf]
(
cons
"Minibuf"
(
make-sparse-keymap
"Minibuf"
))))
(
dolist
(
map
(
list
minibuffer-local-must-match-map
minibuffer-local-completion-map
))
(
let
((
map
minibuffer-local-completion-map
))
(
define-key
map
[menu-bar
minibuf
?\?]
(
list
'menu-item
"List Completions"
'minibuffer-completion-help
:help
"Display all possible completions"
))
...
...
@@ -1190,11 +1188,7 @@ key (or menu-item)"))
(
list
'menu-item
"Complete"
'minibuffer-complete
:help
"Complete as far as possible"
)))
(
dolist
(
map
(
list
minibuffer-local-ns-map
minibuffer-local-must-match-map
minibuffer-local-isearch-map
minibuffer-local-map
minibuffer-local-completion-map
))
(
let
((
map
minibuffer-local-map
))
(
define-key
map
[menu-bar
minibuf
quit]
(
list
'menu-item
"Quit"
'keyboard-escape-quit
:help
"Abort input and exit minibuffer"
))
...
...
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