comparison lisp/startup.el @ 104922:c603ee2aac17

* 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.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 11 Sep 2009 00:58:59 +0000
parents 566d2dc55a9d
children 0ea87b098bb0
comparison
equal deleted inserted replaced
104921:05feb973bfa0 104922:c603ee2aac17
1839 (insert (substitute-command-keys "\t \\[info]\n")) 1839 (insert (substitute-command-keys "\t \\[info]\n"))
1840 (insert-button "Emacs tutorial" 1840 (insert-button "Emacs tutorial"
1841 'action (lambda (button) (help-with-tutorial)) 1841 'action (lambda (button) (help-with-tutorial))
1842 'follow-link t) 1842 'follow-link t)
1843 (insert (substitute-command-keys 1843 (insert (substitute-command-keys
1844 "\t \\[help-with-tutorial]\tUndo changes\t \\[advertised-undo]\n")) 1844 "\t \\[help-with-tutorial]\tUndo changes\t \\[undo]\n"))
1845 (insert-button "Buy manuals" 1845 (insert-button "Buy manuals"
1846 'action (lambda (button) (view-order-manuals)) 1846 'action (lambda (button) (view-order-manuals))
1847 'follow-link t) 1847 'follow-link t)
1848 (insert (substitute-command-keys 1848 (insert (substitute-command-keys
1849 "\t \\[view-order-manuals]\tExit Emacs\t \\[save-buffers-kill-terminal]"))) 1849 "\t \\[view-order-manuals]\tExit Emacs\t \\[save-buffers-kill-terminal]")))