# HG changeset patch # User Richard M. Stallman # Date 942174531 0 # Node ID b3d3ff9a7a2c3ce72615378f58eabc70f0e691c2 # Parent 216416ad34feb1a1acde898682cb68f87b3bcd78 *** empty log message *** diff -r 216416ad34fe -r b3d3ff9a7a2c man/custom.texi --- 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) diff -r 216416ad34fe -r b3d3ff9a7a2c src/ChangeLog Binary file src/ChangeLog has changed