From: Chong Yidong Date: Mon, 4 Jul 2011 20:45:22 +0000 (-0400) Subject: * bindings.el: Ignore next-buffer and previous-buffer in minibuffer-local-map. X-Git-Tag: emacs-pretest-24.0.90~104^2~152^2~185 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d66fef2b4522310bcb7d705d59aaf65a84fdd927;p=emacs.git * bindings.el: Ignore next-buffer and previous-buffer in minibuffer-local-map. --- 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 + * 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.