Mercurial > emacs
diff src/cmds.c @ 111048:3c2bab829253
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.
| author | Chong Yidong <cyd@stupidchicken.com> |
|---|---|
| date | Tue, 19 Oct 2010 11:43:27 -0400 |
| parents | 66f6be9b4d43 |
| children | e9767f86681c |
line wrap: on
line diff
--- a/src/cmds.c Tue Oct 19 13:44:07 2010 +0200 +++ b/src/cmds.c Tue Oct 19 11:43:27 2010 -0400 @@ -230,7 +230,7 @@ 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;
