diff options
| author | Michal Nazarewicz | 2014-03-03 22:14:11 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2014-03-03 22:14:11 -0500 |
| commit | 5b87d0d9cd65911aca0b99a44bc5f79c44938753 (patch) | |
| tree | f9acca1539bc7143620f5588c1c0da13f51d89fc /src/cmds.c | |
| parent | 757c70af04476ffdaf24cee8d0d2ecd175635aeb (diff) | |
| download | emacs-5b87d0d9cd65911aca0b99a44bc5f79c44938753.tar.gz emacs-5b87d0d9cd65911aca0b99a44bc5f79c44938753.zip | |
* 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). | |||
| 229 | Interactively, N is the prefix arg, and KILLFLAG is set if | 229 | Interactively, N is the prefix arg, and KILLFLAG is set if |
| 230 | N was explicitly specified. | 230 | N was explicitly specified. |
| 231 | 231 | ||
| 232 | The command `delete-forward-char' is preferable for interactive use. */) | 232 | The command `delete-forward-char' is preferable for interactive use, e.g. |
| 233 | because it respects values of `delete-active-region' and `overwrite-mode'. */) | ||
| 233 | (Lisp_Object n, Lisp_Object killflag) | 234 | (Lisp_Object n, Lisp_Object killflag) |
| 234 | { | 235 | { |
| 235 | EMACS_INT pos; | 236 | EMACS_INT pos; |