diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2010-10-19 11:43:27 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2010-10-19 11:43:27 -0400 |
commit | b8a47412d30e73a12c1919d0109f9272096e9ce6 (patch) | |
tree | 19176307be6aa97e800de77ec195da34514adc19 /src/cmds.c | |
parent | ca3fa30248b923c17c021c0fcdb945271d14e8c2 (diff) | |
download | emacs-b8a47412d30e73a12c1919d0109f9272096e9ce6.tar.gz |
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). Interactively, N is the prefix arg, and KILLFLAG is set if N was explicitly specified. -The command `delete-forward' is preferable for interactive use. */) +The command `delete-forward-char' is preferable for interactive use. */) (Lisp_Object n, Lisp_Object killflag) { EMACS_INT pos; |