Commit 8370def5 authored by Juri Linkov's avatar Juri Linkov
Browse files

* lisp/isearch.el (isearch-delete-char, isearch-del-char): Doc fix.

Fixes: debbugs:13175
parent f25f57bf
2012-12-15 Juri Linkov <juri@jurta.org>
* isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
(Bug#13175)
2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
 
* dired-x.el (dired-guess-shell-command): Put colon at the end of
......
......@@ -1707,6 +1707,9 @@ and reads its face argument using `hi-lock-read-face-name'."
(defun isearch-delete-char ()
"Discard last input item and move point back.
Last input means the last character or the last isearch command
that added or deleted characters from the search string,
moved point, toggled regexp mode or case-sensitivity, etc.
If no previous match was done, just beep."
(interactive)
(if (null (cdr isearch-cmds))
......@@ -1716,6 +1719,8 @@ If no previous match was done, just beep."
(defun isearch-del-char (&optional arg)
"Delete character from end of search string and search again.
Unlike `isearch-delete-char', it only deletes the last character,
but doesn't cancel the effect of other isearch command.
If search string is empty, just beep."
(interactive "p")
(if (= 0 (length isearch-string))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment