diff options
| author | Gerd Moellmann | 2000-12-14 13:47:45 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-12-14 13:47:45 +0000 |
| commit | 5f368d294e2c9b9c4e67867570d54cd493f21a74 (patch) | |
| tree | 22657f6fa7d30416a427cc8ec9896a87d771a76f | |
| parent | 26abe2b0091576028b556a00118ad17be41ff0dc (diff) | |
| download | emacs-5f368d294e2c9b9c4e67867570d54cd493f21a74.tar.gz emacs-5f368d294e2c9b9c4e67867570d54cd493f21a74.zip | |
*** empty log message ***
| -rw-r--r-- | etc/NEWS | 23 | ||||
| -rw-r--r-- | lisp/ChangeLog | 8 |
2 files changed, 27 insertions, 4 deletions
| @@ -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 |
| 211 | a version-dependent component. | 211 | a 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 |
| 214 | Note that this takes effect only on window systems. On TTYs, Emacs | 214 | let the Delete function key delete forward instead of backward. |
| 215 | will receive ASCII 127 when the DEL key is pressed. This | 215 | |
| 216 | character is still bound as before. | 216 | On window systems, the default value of this option is chosen |
| 217 | according to the keyboard used. If the keyboard has both a Backspace | ||
| 218 | key and a Delete key, and both are mapped to their usual meanings, the | ||
| 219 | option's default value is set to t, so that Backspace can be used to | ||
| 220 | delete backward, and Delete can be used used to delete forward | ||
| 221 | |||
| 222 | If not running under a window system, setting this option accomplishes | ||
| 223 | a similar effect by mapping C-h, which is usually generated by the | ||
| 224 | Backspace key, to DEL, and by mapping DEL to C-d via | ||
| 225 | `keyboard-translate'. The former functionality of C-h is available on | ||
| 226 | the F1 key. You should probably not use this setting if you don't | ||
| 227 | have both Backspace, Delete and F1 keys. | ||
| 228 | |||
| 229 | Programmatically, you can call function | ||
| 230 | delete-key-deletes-forward-mode to toggle the behavior of the Delete | ||
| 231 | key. | ||
| 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 |
| 219 | using that menu. | 234 | using that menu. |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3f08afe9f84..15a295c7311 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,13 @@ | |||
| 1 | 2000-12-14 Gerd Moellmann <gerd@gnu.org> | 1 | 2000-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 | ||