diff options
| author | Stefan Monnier | 2007-06-11 22:10:24 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-06-11 22:10:24 +0000 |
| commit | b4879b4331e5b51d40e0d144fbe3f7570047f838 (patch) | |
| tree | d5baaa21131b0d61f74aa230a0bf25e88a6f6be4 | |
| parent | 37fcd54a632122f70869a1ad9bf209ef2b856d08 (diff) | |
| download | emacs-b4879b4331e5b51d40e0d144fbe3f7570047f838.tar.gz emacs-b4879b4331e5b51d40e0d144fbe3f7570047f838.zip | |
(PC-bindings): Don't bind things already bound in the parent keymap.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/complete.el | 9 |
2 files changed, 3 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0c5a6300ae0..c9b2e0adecf 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * complete.el (PC-bindings): Don't bind things already bound in the | ||
| 4 | parent keymap. | ||
| 5 | |||
| 3 | * textmodes/bibtex-style.el: New file. | 6 | * textmodes/bibtex-style.el: New file. |
| 4 | 7 | ||
| 5 | 2007-06-11 Riccardo Murri <riccardo.murri@gmail.com> | 8 | 2007-06-11 Riccardo Murri <riccardo.murri@gmail.com> |
diff --git a/lisp/complete.el b/lisp/complete.el index b1bb36f9dfa..7d9bd989089 100644 --- a/lisp/complete.el +++ b/lisp/complete.el | |||
| @@ -153,11 +153,8 @@ If nil, means use the colon-separated path in the variable $INCPATH instead." | |||
| 153 | (define-key completion-map " " 'minibuffer-complete-word) | 153 | (define-key completion-map " " 'minibuffer-complete-word) |
| 154 | (define-key completion-map "?" 'minibuffer-completion-help) | 154 | (define-key completion-map "?" 'minibuffer-completion-help) |
| 155 | 155 | ||
| 156 | (define-key must-match-map "\t" 'minibuffer-complete) | ||
| 157 | (define-key must-match-map " " 'minibuffer-complete-word) | ||
| 158 | (define-key must-match-map "\r" 'minibuffer-complete-and-exit) | 156 | (define-key must-match-map "\r" 'minibuffer-complete-and-exit) |
| 159 | (define-key must-match-map "\n" 'minibuffer-complete-and-exit) | 157 | (define-key must-match-map "\n" 'minibuffer-complete-and-exit) |
| 160 | (define-key must-match-map "?" 'minibuffer-completion-help) | ||
| 161 | 158 | ||
| 162 | (define-key global-map [remap lisp-complete-symbol] nil)) | 159 | (define-key global-map [remap lisp-complete-symbol] nil)) |
| 163 | (PC-default-bindings | 160 | (PC-default-bindings |
| @@ -173,17 +170,11 @@ If nil, means use the colon-separated path in the variable $INCPATH instead." | |||
| 173 | (define-key completion-map "\e\n" 'PC-force-complete-and-exit) | 170 | (define-key completion-map "\e\n" 'PC-force-complete-and-exit) |
| 174 | (define-key completion-map "\e?" 'PC-completion-help) | 171 | (define-key completion-map "\e?" 'PC-completion-help) |
| 175 | 172 | ||
| 176 | (define-key must-match-map "\t" 'PC-complete) | ||
| 177 | (define-key must-match-map " " 'PC-complete-word) | ||
| 178 | (define-key must-match-map "\r" 'PC-complete-and-exit) | 173 | (define-key must-match-map "\r" 'PC-complete-and-exit) |
| 179 | (define-key must-match-map "\n" 'PC-complete-and-exit) | 174 | (define-key must-match-map "\n" 'PC-complete-and-exit) |
| 180 | (define-key must-match-map "?" 'PC-completion-help) | ||
| 181 | 175 | ||
| 182 | (define-key must-match-map "\e\t" 'PC-complete) | ||
| 183 | (define-key must-match-map "\e " 'PC-complete-word) | ||
| 184 | (define-key must-match-map "\e\r" 'PC-complete-and-exit) | 176 | (define-key must-match-map "\e\r" 'PC-complete-and-exit) |
| 185 | (define-key must-match-map "\e\n" 'PC-complete-and-exit) | 177 | (define-key must-match-map "\e\n" 'PC-complete-and-exit) |
| 186 | (define-key must-match-map "\e?" 'PC-completion-help) | ||
| 187 | 178 | ||
| 188 | (define-key global-map [remap lisp-complete-symbol] 'PC-lisp-complete-symbol))))) | 179 | (define-key global-map [remap lisp-complete-symbol] 'PC-lisp-complete-symbol))))) |
| 189 | 180 | ||