diff options
| author | Chong Yidong | 2007-03-08 14:50:59 +0000 |
|---|---|---|
| committer | Chong Yidong | 2007-03-08 14:50:59 +0000 |
| commit | fff1a0775ec9d7de2adf5d78b34d00e1151b9b74 (patch) | |
| tree | e8bd30afabd639998e670597c0397113f20dc0eb | |
| parent | 18d8c1e09b6ba11c2c2cd058c257984635bb9140 (diff) | |
| download | emacs-fff1a0775ec9d7de2adf5d78b34d00e1151b9b74.tar.gz emacs-fff1a0775ec9d7de2adf5d78b34d00e1151b9b74.zip | |
(PC-bindings): Rebind M-TAB in read-expression-map.
| -rw-r--r-- | lisp/complete.el | 4 |
1 files changed, 4 insertions, 0 deletions
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." | |||
| 147 | (cond ((not bind) | 147 | (cond ((not bind) |
| 148 | ;; These bindings are the default bindings. It would be better to | 148 | ;; These bindings are the default bindings. It would be better to |
| 149 | ;; restore the previous bindings. | 149 | ;; restore the previous bindings. |
| 150 | (define-key read-expression-map "\e\t" 'lisp-complete-symbol) | ||
| 151 | |||
| 150 | (define-key completion-map "\t" 'minibuffer-complete) | 152 | (define-key completion-map "\t" 'minibuffer-complete) |
| 151 | (define-key completion-map " " 'minibuffer-complete-word) | 153 | (define-key completion-map " " 'minibuffer-complete-word) |
| 152 | (define-key completion-map "?" 'minibuffer-completion-help) | 154 | (define-key completion-map "?" 'minibuffer-completion-help) |
| @@ -159,6 +161,8 @@ If nil, means use the colon-separated path in the variable $INCPATH instead." | |||
| 159 | 161 | ||
| 160 | (define-key global-map [remap lisp-complete-symbol] nil)) | 162 | (define-key global-map [remap lisp-complete-symbol] nil)) |
| 161 | (PC-default-bindings | 163 | (PC-default-bindings |
| 164 | (define-key read-expression-map "\e\t" 'PC-lisp-complete-symbol) | ||
| 165 | |||
| 162 | (define-key completion-map "\t" 'PC-complete) | 166 | (define-key completion-map "\t" 'PC-complete) |
| 163 | (define-key completion-map " " 'PC-complete-word) | 167 | (define-key completion-map " " 'PC-complete-word) |
| 164 | (define-key completion-map "?" 'PC-completion-help) | 168 | (define-key completion-map "?" 'PC-completion-help) |