summaryrefslogtreecommitdiff
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
parent8fa396153bd5d8d3185c56cfbe4462c56451f275 (diff)
downloademacs-d66fef2b4522310bcb7d705d59aaf65a84fdd927.tar.gz
* bindings.el: Ignore next-buffer and previous-buffer in minibuffer-local-map.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/bindings.el2
2 files changed, 5 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a3c69ee76d5..278ead6a9b8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -5,6 +5,9 @@
2011-07-04 Chong Yidong <cyd@stupidchicken.com>
+ * bindings.el: Ignore next-buffer and previous-buffer in
+ minibuffer-local-map.
+
* font-lock.el (font-lock-builtin-face): Change light background
color to dark slate blue (Bug#6693).
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.