* bindings.el: Ignore next-buffer and previous-buffer in minibuffer-local-map.
authorChong Yidong <cyd@stupidchicken.com>
Mon, 4 Jul 2011 20:45:22 +0000 (16:45 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 4 Jul 2011 20:45:22 +0000 (16:45 -0400)
lisp/ChangeLog
lisp/bindings.el

index a3c69ee..278ead6 100644 (file)
@@ -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).
 
index a7b729a..383223d 100644 (file)
@@ -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.