From fff1a0775ec9d7de2adf5d78b34d00e1151b9b74 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Thu, 8 Mar 2007 14:50:59 +0000 Subject: [PATCH] (PC-bindings): Rebind M-TAB in read-expression-map. --- lisp/complete.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/complete.el b/lisp/complete.el index 454432aef21..5762a5dd69c 100644 --- a/lisp/complete.el +++ b/lisp/complete.el @@ -147,6 +147,8 @@ If nil, means use the colon-separated path in the variable $INCPATH instead." (cond ((not bind) ;; These bindings are the default bindings. It would be better to ;; restore the previous bindings. + (define-key read-expression-map "\e\t" 'lisp-complete-symbol) + (define-key completion-map "\t" 'minibuffer-complete) (define-key completion-map " " 'minibuffer-complete-word) (define-key completion-map "?" 'minibuffer-completion-help) @@ -159,6 +161,8 @@ If nil, means use the colon-separated path in the variable $INCPATH instead." (define-key global-map [remap lisp-complete-symbol] nil)) (PC-default-bindings + (define-key read-expression-map "\e\t" 'PC-lisp-complete-symbol) + (define-key completion-map "\t" 'PC-complete) (define-key completion-map " " 'PC-complete-word) (define-key completion-map "?" 'PC-completion-help) -- 2.39.2