diff options
| author | Stefan Monnier | 2001-10-12 19:25:04 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-10-12 19:25:04 +0000 |
| commit | 01f9ba177ce62b167d8cb5910a0aeb98cb647f55 (patch) | |
| tree | 70a60f880c4efdef7386481f60c61ec4ca810997 | |
| parent | a77dfeb06d10fc917cc1cb9430a65c90995e957e (diff) | |
| download | emacs-01f9ba177ce62b167d8cb5910a0aeb98cb647f55.tar.gz emacs-01f9ba177ce62b167d8cb5910a0aeb98cb647f55.zip | |
(minibuffer-local*-map): Remove redundant bindings.
| -rw-r--r-- | lisp/simple.el | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index ea0d3ce27de..b80a2bdf273 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -682,36 +682,6 @@ to handle recursive uses of the minibuffer.") | |||
| 682 | (setq minibuffer-history-position nil) | 682 | (setq minibuffer-history-position nil) |
| 683 | (defvar minibuffer-history-search-history nil) | 683 | (defvar minibuffer-history-search-history nil) |
| 684 | 684 | ||
| 685 | (mapcar | ||
| 686 | (lambda (key-and-command) | ||
| 687 | (mapcar | ||
| 688 | (lambda (keymap-and-completionp) | ||
| 689 | ;; Arg is (KEYMAP-SYMBOL . COMPLETION-MAP-P). | ||
| 690 | ;; If the cdr of KEY-AND-COMMAND (the command) is a cons, | ||
| 691 | ;; its car is used if COMPLETION-MAP-P is nil, its cdr if it is t. | ||
| 692 | (define-key (symbol-value (car keymap-and-completionp)) | ||
| 693 | (car key-and-command) | ||
| 694 | (let ((command (cdr key-and-command))) | ||
| 695 | (if (consp command) | ||
| 696 | ;; (and ... nil) => ... turns back on the completion-oriented | ||
| 697 | ;; history commands which rms turned off since they seem to | ||
| 698 | ;; do things he doesn't like. | ||
| 699 | (if (and (cdr keymap-and-completionp) nil) ;XXX turned off | ||
| 700 | (progn (error "EMACS BUG!") (cdr command)) | ||
| 701 | (car command)) | ||
| 702 | command)))) | ||
| 703 | '((minibuffer-local-map . nil) | ||
| 704 | (minibuffer-local-ns-map . nil) | ||
| 705 | (minibuffer-local-completion-map . t) | ||
| 706 | (minibuffer-local-must-match-map . t) | ||
| 707 | (read-expression-map . nil)))) | ||
| 708 | '(("\en" . (next-history-element . next-complete-history-element)) | ||
| 709 | ([next] . (next-history-element . next-complete-history-element)) | ||
| 710 | ("\ep" . (previous-history-element . previous-complete-history-element)) | ||
| 711 | ([prior] . (previous-history-element . previous-complete-history-element)) | ||
| 712 | ("\er" . previous-matching-history-element) | ||
| 713 | ("\es" . next-matching-history-element))) | ||
| 714 | |||
| 715 | (defvar minibuffer-text-before-history nil | 685 | (defvar minibuffer-text-before-history nil |
| 716 | "Text that was in this minibuffer before any history commands. | 686 | "Text that was in this minibuffer before any history commands. |
| 717 | This is nil if there have not yet been any history commands | 687 | This is nil if there have not yet been any history commands |