diff options
| author | Juri Linkov | 2021-01-13 20:32:36 +0200 |
|---|---|---|
| committer | Juri Linkov | 2021-01-13 20:32:36 +0200 |
| commit | 488204cdc64b6a130042ecc64d59c4538287b81d (patch) | |
| tree | 55c2fc0b1cf6343f9462a0b811b35ead63fead34 | |
| parent | 55bc1560ac804a2faa497707ae9b1364cc5c8592 (diff) | |
| download | emacs-488204cdc64b6a130042ecc64d59c4538287b81d.tar.gz emacs-488204cdc64b6a130042ecc64d59c4538287b81d.zip | |
Remove one of recently added warnings abound binding keys in Isearch maps
* lisp/isearch.el (minibuffer-local-isearch-map): Remove comments
which warn against wantonly rebinding unbound keys from
irrelevant keymap.
https://lists.gnu.org/archive/html/emacs-devel/2021-01/msg00259.html
| -rw-r--r-- | lisp/isearch.el | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index cbe72efb801..8320847893e 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -823,10 +823,6 @@ This is like `describe-bindings', but displays only Isearch keys." | |||
| 823 | :image '(isearch-tool-bar-image "left-arrow"))) | 823 | :image '(isearch-tool-bar-image "left-arrow"))) |
| 824 | map)) | 824 | map)) |
| 825 | 825 | ||
| 826 | ;; Note: Before adding more key bindings to this map, please keep in | ||
| 827 | ;; mind that any unbound key exits Isearch and runs the command bound | ||
| 828 | ;; to it in the local or global map. So in effect every key unbound | ||
| 829 | ;; in this map is implicitly bound. | ||
| 830 | (defvar minibuffer-local-isearch-map | 826 | (defvar minibuffer-local-isearch-map |
| 831 | (let ((map (make-sparse-keymap))) | 827 | (let ((map (make-sparse-keymap))) |
| 832 | (set-keymap-parent map minibuffer-local-map) | 828 | (set-keymap-parent map minibuffer-local-map) |