From baa9ea73953396d93d0455f8ad9ae924d349a6eb Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 29 Nov 2019 12:17:14 +0200 Subject: 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) --- lisp/simple.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/simple.el') 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))) -- cgit v1.2.1