mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Don't recommend legacy keymap functions in documentation
* doc/emacs/mule.texi (Input Methods): * doc/lispintro/emacs-lisp-intro.texi (Miscellaneous): * doc/lispref/text.texi (Clickable Text): * doc/misc/calc.texi (Defining Functions, Defining Simple Commands) (Customizing Calc): * doc/misc/efaq.texi (Matching parentheses, Modifying pull-down menus) (Deleting menus and menu options, Binding keys to commands) (Invalid prefix characters) (Terminal setup code works after Emacs has begun) (Backspace invokes help, Swapping keys, No Escape key) (Binding combinations of modifiers and function keys) (Replying to the sender of a message): * doc/misc/eudc.texi (Installation, Emacs-only Configuration) (External Configuration): * doc/misc/gnus.texi (Group Parameters, Misc Group Stuff) (Summary Buffer, Generic Marking Commands, RSS) (nnmairix tips and tricks, Oort Gnus): * doc/misc/ido.texi (Customization): * doc/misc/mairix-el.texi (Using): * doc/misc/mh-e.texi (HTML, Miscellaneous Commands and Options) (Folders, Composing): * doc/misc/octave-mode.texi (Running Octave from Within Emacs): * doc/misc/reftex.texi (Citations Outside LaTeX): * doc/misc/remember.texi (Quick Start): * doc/misc/sem-user.texi (Smart Jump): * doc/misc/viper.texi (Key Bindings, Vi Macros): * doc/misc/widget.texi (Defining New Widgets): * doc/misc/woman.texi (Word at point): Recommend 'keymap-set', 'keymap-global-set', 'keymap-global-unset', 'keymap-local-set', and 'key-translate', instead of their legacy equivalents. (Bug#55647)
This commit is contained in:
parent
0c8d30045b
commit
96a704346a
17 changed files with 109 additions and 113 deletions
|
|
@ -17873,10 +17873,10 @@ problem recently.)
|
|||
@smallexample
|
||||
@group
|
||||
;; Translate 'C-h' to <DEL>.
|
||||
; (keyboard-translate ?\C-h ?\C-?)
|
||||
; (key-translate "C-h" "C-?")
|
||||
|
||||
;; Translate <DEL> to 'C-h'.
|
||||
(keyboard-translate ?\C-? ?\C-h)
|
||||
(key-translate "C-?" "C-h")
|
||||
@end group
|
||||
@end smallexample
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue