summaryrefslogtreecommitdiff
path: root/doc/emacs/msdos-xtra.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/emacs/msdos-xtra.texi')
-rw-r--r--doc/emacs/msdos-xtra.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/emacs/msdos-xtra.texi b/doc/emacs/msdos-xtra.texi
index 9cf04ea8a94..57e1ac90a51 100644
--- a/doc/emacs/msdos-xtra.texi
+++ b/doc/emacs/msdos-xtra.texi
@@ -105,7 +105,7 @@ following line into your @file{_emacs} file:
@smallexample
;; @r{Make the @key{ENTER} key from the numeric keypad act as @kbd{C-j}.}
-(define-key function-key-map [kp-enter] [?\C-j])
+(keymap-set function-key-map "<kp-enter>" "C-j")
@end smallexample
@node MS-DOS Mouse