diff options
| author | Chong Yidong | 2010-10-19 11:43:27 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-10-19 11:43:27 -0400 |
| commit | b8a47412d30e73a12c1919d0109f9272096e9ce6 (patch) | |
| tree | 19176307be6aa97e800de77ec195da34514adc19 /src/cmds.c | |
| parent | ca3fa30248b923c17c021c0fcdb945271d14e8c2 (diff) | |
| download | emacs-b8a47412d30e73a12c1919d0109f9272096e9ce6.tar.gz emacs-b8a47412d30e73a12c1919d0109f9272096e9ce6.zip | |
Decouple C-d and delete, so that the former does not delete the region.
* lisp/bindings.el (global-map): Bind C-d to delete-char and deletechar
to delete-forward-char.
* lisp/simple.el (normal-erase-is-backspace-mode): Remap delete to
deletechar, and hence delete-forward-char.
* src/cmds.c (Fdelete_char): Doc fix.
Diffstat (limited to 'src/cmds.c')
| -rw-r--r-- | src/cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmds.c b/src/cmds.c index e12d7c370d9..19eca771941 100644 --- a/src/cmds.c +++ b/src/cmds.c | |||
| @@ -230,7 +230,7 @@ Optional second arg KILLFLAG non-nil means kill instead (save in kill ring). | |||
| 230 | Interactively, N is the prefix arg, and KILLFLAG is set if | 230 | Interactively, N is the prefix arg, and KILLFLAG is set if |
| 231 | N was explicitly specified. | 231 | N was explicitly specified. |
| 232 | 232 | ||
| 233 | The command `delete-forward' is preferable for interactive use. */) | 233 | The command `delete-forward-char' is preferable for interactive use. */) |
| 234 | (Lisp_Object n, Lisp_Object killflag) | 234 | (Lisp_Object n, Lisp_Object killflag) |
| 235 | { | 235 | { |
| 236 | EMACS_INT pos; | 236 | EMACS_INT pos; |