aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorRichard M. Stallman1999-11-09 19:08:51 +0000
committerRichard M. Stallman1999-11-09 19:08:51 +0000
commit4ea68fcc0e824da2afe4889b71a4a3e8878ca5a8 (patch)
tree504758a1cbb92f61897b747c05ffdfdfc80721d5 /man
parent2c6ea900ee425a3cfc23b625b4841b89af407e78 (diff)
downloademacs-4ea68fcc0e824da2afe4889b71a4a3e8878ca5a8.tar.gz
emacs-4ea68fcc0e824da2afe4889b71a4a3e8878ca5a8.zip
*** empty log message ***
Diffstat (limited to 'man')
-rw-r--r--man/custom.texi6
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
1369works, but it's good enough for understanding ordinary circumstances. 1369works, but it's good enough for understanding ordinary circumstances.
1370 1370
1371@cindex rebinding major mode keys 1371@cindex rebinding major mode keys
1372@findex define-key
1372 To change the local bindings of a major mode, you must change the 1373 To change the local bindings of a major mode, you must change the
1373mode's local keymap. Normally you must wait until the first time the 1374mode's local keymap. Normally you must wait until the first time the
1374mode is used, because most major modes don't create their keymaps until 1375mode 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.
1512@node Init Rebinding 1513@node Init Rebinding
1513@subsection Rebinding Keys in Your Init File 1514@subsection Rebinding Keys in Your Init File
1514 1515
1515@findex define-key
1516@findex substitute-key-definition
1517 If you have a set of key bindings that you like to use all the time, 1516 If you have a set of key bindings that you like to use all the time,
1518you can specify them in your @file{.emacs} file by using their Lisp 1517you can specify them in your @file{.emacs} file by using their Lisp
1519syntax. 1518syntax. (@xref{Init File}.)
1520 1519
1521 The simplest method for doing this works for ASCII characters and 1520 The simplest method for doing this works for ASCII characters and
1522Meta-modified ASCII characters only. This method uses a string to 1521Meta-modified ASCII characters only. This method uses a string to
@@ -2199,6 +2198,7 @@ Do the same thing for Lisp mode only.
2199Redefine all keys which now run @code{next-line} in Fundamental mode 2198Redefine all keys which now run @code{next-line} in Fundamental mode
2200so that they run @code{forward-line} instead. 2199so that they run @code{forward-line} instead.
2201 2200
2201@findex substitute-key-definition
2202@example 2202@example
2203(substitute-key-definition 'next-line 'forward-line 2203(substitute-key-definition 'next-line 'forward-line
2204 global-map) 2204 global-map)