comparison man/killing.texi @ 36720:d587de1b655a

(Deletion): Fix last change.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 11 Mar 2001 17:55:15 +0000
parents 0ee33338bb24
children 640fb21a2098
comparison
equal deleted inserted replaced
36719:ff26f01b3c8d 36720:d587de1b655a
115 @findex delete-key-deletes-forward-mode 115 @findex delete-key-deletes-forward-mode
116 Some keyboards have both @key{Delete} and @key{DEL} keys, while others 116 Some keyboards have both @key{Delete} and @key{DEL} keys, while others
117 have just @key{DEL}. (The former variety usually labels the @key{DEL} 117 have just @key{DEL}. (The former variety usually labels the @key{DEL}
118 key as @key{BS} or @key{<-} and refers to it as a ``backspace key''.) 118 key as @key{BS} or @key{<-} and refers to it as a ``backspace key''.)
119 When Emacs starts, it tries to detect keyboards with both @key{BS} and 119 When Emacs starts, it tries to detect keyboards with both @key{BS} and
120 @key{Delete} keys, and if so, binds them to the commands users expect: 120 @key{Delete} keys, and if it finds your keyboard to have both keys, it
121 @key{Delete} deletes forward, like @kbd{C-d} does, and @key{BS} deletes 121 binds them to the commands users expect: @key{Delete} deletes forward,
122 backwards. However, some systems don't report the keyboard 122 like @kbd{C-d} does, and @key{BS} deletes backwards. However, some
123 configuration. If your keyboard has these two keys, and if they are 123 systems don't report the keyboard configuration. If your keyboard has
124 both reported to Emacs, but Emacs is unable to establish that, you can 124 these two keys, and if they are both reported to Emacs, but Emacs is
125 use the @code{delete-key-deletes-forward-mode} command to force Emacs to 125 unable to establish that, you can use the
126 treat @key{BS} and @key{Delete} differently. Either type @kbd{C-u 1 M-x 126 @code{delete-key-deletes-forward-mode} command to force Emacs to treat
127 @key{BS} and @key{Delete} differently. Either type @kbd{C-u 1 M-x
127 delete-key-deletes-forward-mode @key{RET}} or put the following line 128 delete-key-deletes-forward-mode @key{RET}} or put the following line
128 into your @file{.emacs} init file (@pxref{Init File}): 129 into your @file{.emacs} init file (@pxref{Init File}):
129 130
130 @lisp 131 @lisp
131 (delete-key-deletes-forward-mode 1) 132 (delete-key-deletes-forward-mode 1)