diff options
| author | Michal Nazarewicz <mina86@mina86.com> | 2014-03-03 22:14:11 -0500 |
|---|---|---|
| committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2014-03-03 22:14:11 -0500 |
| commit | 5b87d0d9cd65911aca0b99a44bc5f79c44938753 (patch) | |
| tree | f9acca1539bc7143620f5588c1c0da13f51d89fc /src/cmds.c | |
| parent | 757c70af04476ffdaf24cee8d0d2ecd175635aeb (diff) | |
| download | emacs-5b87d0d9cd65911aca0b99a44bc5f79c44938753.tar.gz | |
* binding.el: Add comment describing why C-d binds to `delete-char'.
* lisp/simple.el (delete-forward-char): Mark as interactive-only.
* src/cmds.c (delete-char): Update docstring pointing out that the
function ignores `delete-active-region' and `overwrite-mode'.
Diffstat (limited to 'src/cmds.c')
| -rw-r--r-- | src/cmds.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmds.c b/src/cmds.c index fdc3fcac281..7459908828d 100644 --- a/src/cmds.c +++ b/src/cmds.c @@ -229,7 +229,8 @@ 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-char' is preferable for interactive use. */) +The command `delete-forward-char' is preferable for interactive use, e.g. +because it respects values of `delete-active-region' and `overwrite-mode'. */) (Lisp_Object n, Lisp_Object killflag) { EMACS_INT pos; |
