From: Stefan Monnier Date: Tue, 18 Jul 2006 14:39:57 +0000 (+0000) Subject: (minibuffer-local-map): Rebind TAB so it inserts a \t. X-Git-Tag: emacs-pretest-22.0.90~1349 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b0c2455471bb46cb6152ea28cd337e7ead8b0029;p=emacs.git (minibuffer-local-map): Rebind TAB so it inserts a \t. --- diff --git a/lisp/bindings.el b/lisp/bindings.el index 722de30280d..5420badde90 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -674,7 +674,11 @@ language you are using." (define-key map [prior] 'previous-history-element) (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 "\er" 'previous-matching-history-element) + ;; 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. + (define-key map "\t" 'self-insert-command)) (define-key global-map "\C-u" 'universal-argument) (let ((i ?0))