diff options
author | Richard M. Stallman <rms@gnu.org> | 1999-11-09 19:08:51 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1999-11-09 19:08:51 +0000 |
commit | dc70207402ca55cffa0d7f39bbb0b8a23b78c2f2 (patch) | |
tree | cf46e45c5b1f1f35ce17dd41c111a683b0bd5bbd /man | |
parent | ffc5f4674f9f8ed118f62f2f759e10234b7be3c9 (diff) | |
download | emacs-dc70207402ca55cffa0d7f39bbb0b8a23b78c2f2.tar.gz |
*** empty log message ***
Diffstat (limited to 'man')
-rw-r--r-- | man/custom.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man/custom.texi b/man/custom.texi index 3e4d627b0a9..696dce30c5f 100644 --- a/man/custom.texi +++ b/man/custom.texi @@ -1369,6 +1369,7 @@ it checks the global keymap. This is not precisely how key lookup works, but it's good enough for understanding ordinary circumstances. @cindex rebinding major mode keys +@findex define-key To change the local bindings of a major mode, you must change the mode's local keymap. Normally you must wait until the first time the mode is used, because most major modes don't create their keymaps until @@ -1512,11 +1513,9 @@ command is less work to invoke when you really want to. @node Init Rebinding @subsection Rebinding Keys in Your Init File -@findex define-key -@findex substitute-key-definition If you have a set of key bindings that you like to use all the time, you can specify them in your @file{.emacs} file by using their Lisp -syntax. +syntax. (@xref{Init File}.) The simplest method for doing this works for ASCII characters and Meta-modified ASCII characters only. This method uses a string to @@ -2199,6 +2198,7 @@ Do the same thing for Lisp mode only. Redefine all keys which now run @code{next-line} in Fundamental mode so that they run @code{forward-line} instead. +@findex substitute-key-definition @example (substitute-key-definition 'next-line 'forward-line global-map) |