diff options
| author | Richard M. Stallman | 1999-11-09 19:08:51 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1999-11-09 19:08:51 +0000 |
| commit | 4ea68fcc0e824da2afe4889b71a4a3e8878ca5a8 (patch) | |
| tree | 504758a1cbb92f61897b747c05ffdfdfc80721d5 /man | |
| parent | 2c6ea900ee425a3cfc23b625b4841b89af407e78 (diff) | |
| download | emacs-4ea68fcc0e824da2afe4889b71a4a3e8878ca5a8.tar.gz emacs-4ea68fcc0e824da2afe4889b71a4a3e8878ca5a8.zip | |
*** 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 | |||
| 1369 | works, but it's good enough for understanding ordinary circumstances. | 1369 | works, 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 |
| 1373 | mode's local keymap. Normally you must wait until the first time the | 1374 | mode's local keymap. Normally you must wait until the first time the |
| 1374 | mode is used, because most major modes don't create their keymaps until | 1375 | 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. | |||
| 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, |
| 1518 | you can specify them in your @file{.emacs} file by using their Lisp | 1517 | you can specify them in your @file{.emacs} file by using their Lisp |
| 1519 | syntax. | 1518 | syntax. (@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 |
| 1522 | Meta-modified ASCII characters only. This method uses a string to | 1521 | Meta-modified ASCII characters only. This method uses a string to |
| @@ -2199,6 +2198,7 @@ Do the same thing for Lisp mode only. | |||
| 2199 | Redefine all keys which now run @code{next-line} in Fundamental mode | 2198 | Redefine all keys which now run @code{next-line} in Fundamental mode |
| 2200 | so that they run @code{forward-line} instead. | 2199 | so 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) |