aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-12-14 13:47:45 +0000
committerGerd Moellmann2000-12-14 13:47:45 +0000
commit5f368d294e2c9b9c4e67867570d54cd493f21a74 (patch)
tree22657f6fa7d30416a427cc8ec9896a87d771a76f
parent26abe2b0091576028b556a00118ad17be41ff0dc (diff)
downloademacs-5f368d294e2c9b9c4e67867570d54cd493f21a74.tar.gz
emacs-5f368d294e2c9b9c4e67867570d54cd493f21a74.zip
*** empty log message ***
-rw-r--r--etc/NEWS23
-rw-r--r--lisp/ChangeLog8
2 files changed, 27 insertions, 4 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 02a8a28d7ce..601dc943376 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -210,10 +210,25 @@ menu or the Edit menu if there is no major mode menu.
210** Variable `load-path' is no longer customizable because it contains 210** Variable `load-path' is no longer customizable because it contains
211a version-dependent component. 211a version-dependent component.
212 212
213** The <delete> function key is now bound to `delete-char' by default. 213** The new user-option `delete-key-deletes-forward' can be set to
214Note that this takes effect only on window systems. On TTYs, Emacs 214let the Delete function key delete forward instead of backward.
215will receive ASCII 127 when the DEL key is pressed. This 215
216character is still bound as before. 216On window systems, the default value of this option is chosen
217according to the keyboard used. If the keyboard has both a Backspace
218key and a Delete key, and both are mapped to their usual meanings, the
219option's default value is set to t, so that Backspace can be used to
220delete backward, and Delete can be used used to delete forward
221
222If not running under a window system, setting this option accomplishes
223a similar effect by mapping C-h, which is usually generated by the
224Backspace key, to DEL, and by mapping DEL to C-d via
225`keyboard-translate'. The former functionality of C-h is available on
226the F1 key. You should probably not use this setting if you don't
227have both Backspace, Delete and F1 keys.
228
229Programmatically, you can call function
230delete-key-deletes-forward-mode to toggle the behavior of the Delete
231key.
217 232
218** Item Save Options on the Options menu allows saving options set 233** Item Save Options on the Options menu allows saving options set
219using that menu. 234using that menu.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3f08afe9f84..15a295c7311 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,13 @@
12000-12-14 Gerd Moellmann <gerd@gnu.org> 12000-12-14 Gerd Moellmann <gerd@gnu.org>
2 2
3 * startup.el (command-line): Call delete-key-deletes-forward-mode,
4 if appropriate.
5
6 * simple.el (delete-key-deletes-forward): New user-option.
7 (delete-key-deletes-forward-mode): New function.
8
9 * bindings.el (ctl-x-map): Bind `delete' to backward-delete-char.
10
3 * emacs-lisp/easymenu.el (easy-menu-current-active-maps): Test 11 * emacs-lisp/easymenu.el (easy-menu-current-active-maps): Test
4 if symbol is bound before getting its value. 12 if symbol is bound before getting its value.
5 13