summaryrefslogtreecommitdiff
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-11-29 12:17:14 +0200
committerEli Zaretskii <eliz@gnu.org>2019-11-29 12:17:14 +0200
commitbaa9ea73953396d93d0455f8ad9ae924d349a6eb (patch)
tree16abc83250cd1827c60043cce7ffcf441218da0e /lisp/simple.el
parent11baa417c56b42441b7cf9e4092acd840440fe47 (diff)
downloademacs-baa9ea73953396d93d0455f8ad9ae924d349a6eb.tar.gz
Document 'zap-up-to-char'
* doc/emacs/killing.texi (Other Kill Commands): Document 'zap-up-to-char'. * lisp/simple.el (zap-to-char): Mention 'zap-up-to-char' in the doc string. (Bug#38392)
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 2aac557154a..47ce0364d14 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -5191,7 +5191,8 @@ and KILLP is t if a prefix arg was specified."
(defun zap-to-char (arg char)
"Kill up to and including ARGth occurrence of CHAR.
Case is ignored if `case-fold-search' is non-nil in the current buffer.
-Goes backward if ARG is negative; error if CHAR not found."
+Goes backward if ARG is negative; error if CHAR not found.
+See also `zap-up-to-char'."
(interactive (list (prefix-numeric-value current-prefix-arg)
(read-char-from-minibuffer "Zap to char: "
nil 'read-char-history)))