summaryrefslogtreecommitdiff
path: root/lisp/bindings.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-07-04 16:45:22 -0400
committerChong Yidong <cyd@stupidchicken.com>2011-07-04 16:45:22 -0400
commitd66fef2b4522310bcb7d705d59aaf65a84fdd927 (patch)
tree80177a9023f3e7c5376e2e13acad00e6b07b985d /lisp/bindings.el
parent8fa396153bd5d8d3185c56cfbe4462c56451f275 (diff)
downloademacs-d66fef2b4522310bcb7d705d59aaf65a84fdd927.tar.gz
* bindings.el: Ignore next-buffer and previous-buffer in minibuffer-local-map.
Diffstat (limited to 'lisp/bindings.el')
-rw-r--r--lisp/bindings.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el
index a7b729a1ba3..383223dc0d7 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -806,6 +806,8 @@ if `inhibit-field-text-motion' is non-nil."
(define-key map [up] 'previous-history-element)
(define-key map "\es" 'next-matching-history-element)
(define-key map "\er" 'previous-matching-history-element)
+ (define-key map [remap next-buffer] 'ignore)
+ (define-key map [remap previous-buffer] 'ignore)
;; Override the global binding (which calls indent-relative via
;; indent-for-tab-command). The alignment that indent-relative tries to
;; do doesn't make much sense here since the prompt messes it up.