Mercurial > emacs
changeset 26392:b3d3ff9a7a2c
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 09 Nov 1999 19:08:51 +0000 |
parents | 216416ad34fe |
children | d11cb5096a6c |
files | man/custom.texi src/ChangeLog |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/man/custom.texi Tue Nov 09 19:00:59 1999 +0000 +++ b/man/custom.texi Tue Nov 09 19:08:51 1999 +0000 @@ -1369,6 +1369,7 @@ 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 @@ @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 @@ 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)