diff options
| author | Juri Linkov | 2014-11-18 23:33:42 +0200 |
|---|---|---|
| committer | Juri Linkov | 2014-11-18 23:33:42 +0200 |
| commit | 5c0fbcfc8aa6ee13fbd4ea1516f25c804bebcf8c (patch) | |
| tree | 9671af81c39d9c4197fa5369e9b62b29acf01ab6 /lisp/bindings.el | |
| parent | cb4f666ade76181223c197fe38fc600ea4d7ab01 (diff) | |
| download | emacs-5c0fbcfc8aa6ee13fbd4ea1516f25c804bebcf8c.tar.gz emacs-5c0fbcfc8aa6ee13fbd4ea1516f25c804bebcf8c.zip | |
Use <up> and <down> keys to move point in the multi-line minibuffer.
* lisp/bindings.el (minibuffer-local-map): Rebind [down] from
next-history-element to next-line-or-history-element, and [up]
from previous-history-element to previous-line-or-history-element.
* lisp/simple.el (next-line-or-history-element)
(previous-line-or-history-element): New commands.
http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
Diffstat (limited to 'lisp/bindings.el')
| -rw-r--r-- | lisp/bindings.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el index 110774082e0..789fdf00616 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el | |||
| @@ -839,11 +839,11 @@ if `inhibit-field-text-motion' is non-nil." | |||
| 839 | (let ((map minibuffer-local-map)) | 839 | (let ((map minibuffer-local-map)) |
| 840 | (define-key map "\en" 'next-history-element) | 840 | (define-key map "\en" 'next-history-element) |
| 841 | (define-key map [next] 'next-history-element) | 841 | (define-key map [next] 'next-history-element) |
| 842 | (define-key map [down] 'next-history-element) | 842 | (define-key map [down] 'next-line-or-history-element) |
| 843 | (define-key map [XF86Forward] 'next-history-element) | 843 | (define-key map [XF86Forward] 'next-history-element) |
| 844 | (define-key map "\ep" 'previous-history-element) | 844 | (define-key map "\ep" 'previous-history-element) |
| 845 | (define-key map [prior] 'previous-history-element) | 845 | (define-key map [prior] 'previous-history-element) |
| 846 | (define-key map [up] 'previous-history-element) | 846 | (define-key map [up] 'previous-line-or-history-element) |
| 847 | (define-key map [XF86Back] 'previous-history-element) | 847 | (define-key map [XF86Back] 'previous-history-element) |
| 848 | (define-key map "\es" 'next-matching-history-element) | 848 | (define-key map "\es" 'next-matching-history-element) |
| 849 | (define-key map "\er" 'previous-matching-history-element) | 849 | (define-key map "\er" 'previous-matching-history-element) |