diff options
| author | Stefan Monnier | 2009-09-11 00:58:59 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-09-11 00:58:59 +0000 |
| commit | 8cb95edf7cdec140efb1c8dbf4f7f33320f0ca0c (patch) | |
| tree | 082de7005695b6792640b4a2d54cfbe4a67921fc /lisp/bindings.el | |
| parent | 599498c31f0ce7a3ffd6094a12a986766b5a694d (diff) | |
| download | emacs-8cb95edf7cdec140efb1c8dbf4f7f33320f0ca0c.tar.gz emacs-8cb95edf7cdec140efb1c8dbf4f7f33320f0ca0c.zip | |
* keymap.c (QCadvertised_binding): New constant.
(syms_of_keymap): Initialize it.
(Fwhere_is_internal): Try and use bindings from :advertised-binding
if applicable.
* progmodes/xscheme.el (xscheme-evaluation-commands):
Put a :advertised-binding property rather than using
advertised-xscheme-send-previous-expression.
(advertised-xscheme-send-previous-expression): Declare obsolete.
* emulation/crisp.el (crisp-mode-map): Use `undo' rather than
`advertised-undo'.
(crisp-mode): Add corresponding bindings to
undo's :advertised-binding instead.
* dired.el (dired-mode-map): Put a :advertised-binding property rather
than using dired-advertised-find-file.
(dired-advertised-find-file):
* simple.el (advertised-undo):
* wid-edit.el (advertised-widget-backward): Declare obsolete.
(widget-keymap): Put a :advertised-binding property rather
than using advertised-widget-backward.
* bindings.el (ctl-x-map): Put a :advertised-binding property rather
than using advertised-undo.
* tutorial.el (tutorial--default-keys): Adjust accordingly.
Diffstat (limited to 'lisp/bindings.el')
| -rw-r--r-- | lisp/bindings.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el index 9ee6c3fa306..9f3f43c7cd7 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el | |||
| @@ -757,7 +757,8 @@ language you are using." | |||
| 757 | (define-key ctl-x-map "\e\e" 'repeat-complex-command) | 757 | (define-key ctl-x-map "\e\e" 'repeat-complex-command) |
| 758 | ;; New binding analogous to M-:. | 758 | ;; New binding analogous to M-:. |
| 759 | (define-key ctl-x-map "\M-:" 'repeat-complex-command) | 759 | (define-key ctl-x-map "\M-:" 'repeat-complex-command) |
| 760 | (define-key ctl-x-map "u" 'advertised-undo) | 760 | (define-key ctl-x-map "u" 'undo) |
| 761 | (put 'undo :advertised-binding [?\C-x ?u]) | ||
| 761 | ;; Many people are used to typing C-/ on X terminals and getting C-_. | 762 | ;; Many people are used to typing C-/ on X terminals and getting C-_. |
| 762 | (define-key global-map [?\C-/] 'undo) | 763 | (define-key global-map [?\C-/] 'undo) |
| 763 | (define-key global-map "\C-_" 'undo) | 764 | (define-key global-map "\C-_" 'undo) |