diff options
| author | Stefan Monnier | 2001-10-12 19:59:43 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-10-12 19:59:43 +0000 |
| commit | 32993295b900acebb2010323bdb3f7c1b6cd7d8a (patch) | |
| tree | a371c3b74e26d082cd8ab3a8c199bf3df5d6f9a6 | |
| parent | 01f9ba177ce62b167d8cb5910a0aeb98cb647f55 (diff) | |
| download | emacs-32993295b900acebb2010323bdb3f7c1b6cd7d8a.tar.gz emacs-32993295b900acebb2010323bdb3f7c1b6cd7d8a.zip | |
(minibuffer-local-*map): Take inheritance into account.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/menu-bar.el | 16 |
2 files changed, 12 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 237b8879aa5..97e109445da 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2001-10-12 Stefan Monnier <monnier@cs.yale.edu> | 1 | 2001-10-12 Stefan Monnier <monnier@cs.yale.edu> |
| 2 | 2 | ||
| 3 | * menu-bar.el (minibuffer-local-*map): Take inheritance into account. | ||
| 4 | |||
| 5 | * simple.el (minibuffer-local*-map): Remove redundant bindings. | ||
| 6 | |||
| 7 | * bindings.el (minibuffer-local-map): Also bind next, C-n, C-s, prior, | ||
| 8 | C-p and C-r. Remove redundant bindings from inheriting maps. | ||
| 9 | |||
| 3 | * progmodes/cperl-mode.el: Merged in changes from v4.32. | 10 | * progmodes/cperl-mode.el: Merged in changes from v4.32. |
| 4 | After 4.23 and: After 4.24: | 11 | After 4.23 and: After 4.24: |
| 5 | (cperl-contract-levels): Restore position. | 12 | (cperl-contract-levels): Restore position. |
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 00d009df9a8..6a9da349a17 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el | |||
| @@ -1170,16 +1170,14 @@ key (or menu-item)")) | |||
| 1170 | 1170 | ||
| 1171 | ;;; Set up a menu bar menu for the minibuffer. | 1171 | ;;; Set up a menu bar menu for the minibuffer. |
| 1172 | 1172 | ||
| 1173 | (dolist (map (list minibuffer-local-ns-map | 1173 | (dolist (map (list minibuffer-local-map |
| 1174 | minibuffer-local-must-match-map | 1174 | ;; This shouldn't be necessary, but there's a funny |
| 1175 | minibuffer-local-isearch-map | 1175 | ;; bug in keymap.c that I don't understand yet. -stef |
| 1176 | minibuffer-local-map | ||
| 1177 | minibuffer-local-completion-map)) | 1176 | minibuffer-local-completion-map)) |
| 1178 | (define-key map [menu-bar minibuf] | 1177 | (define-key map [menu-bar minibuf] |
| 1179 | (cons "Minibuf" (make-sparse-keymap "Minibuf")))) | 1178 | (cons "Minibuf" (make-sparse-keymap "Minibuf")))) |
| 1180 | 1179 | ||
| 1181 | (dolist (map (list minibuffer-local-must-match-map | 1180 | (let ((map minibuffer-local-completion-map)) |
| 1182 | minibuffer-local-completion-map)) | ||
| 1183 | (define-key map [menu-bar minibuf ?\?] | 1181 | (define-key map [menu-bar minibuf ?\?] |
| 1184 | (list 'menu-item "List Completions" 'minibuffer-completion-help | 1182 | (list 'menu-item "List Completions" 'minibuffer-completion-help |
| 1185 | :help "Display all possible completions")) | 1183 | :help "Display all possible completions")) |
| @@ -1190,11 +1188,7 @@ key (or menu-item)")) | |||
| 1190 | (list 'menu-item "Complete" 'minibuffer-complete | 1188 | (list 'menu-item "Complete" 'minibuffer-complete |
| 1191 | :help "Complete as far as possible"))) | 1189 | :help "Complete as far as possible"))) |
| 1192 | 1190 | ||
| 1193 | (dolist (map (list minibuffer-local-ns-map | 1191 | (let ((map minibuffer-local-map)) |
| 1194 | minibuffer-local-must-match-map | ||
| 1195 | minibuffer-local-isearch-map | ||
| 1196 | minibuffer-local-map | ||
| 1197 | minibuffer-local-completion-map)) | ||
| 1198 | (define-key map [menu-bar minibuf quit] | 1192 | (define-key map [menu-bar minibuf quit] |
| 1199 | (list 'menu-item "Quit" 'keyboard-escape-quit | 1193 | (list 'menu-item "Quit" 'keyboard-escape-quit |
| 1200 | :help "Abort input and exit minibuffer")) | 1194 | :help "Abort input and exit minibuffer")) |