* lisp/isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
authorJuri Linkov <juri@jurta.org>
Sat, 15 Dec 2012 12:19:04 +0000 (14:19 +0200)
committerJuri Linkov <juri@jurta.org>
Sat, 15 Dec 2012 12:19:04 +0000 (14:19 +0200)
Fixes: debbugs:13175

lisp/ChangeLog
lisp/isearch.el

index c291bba..db5ae7e 100644 (file)
@@ -1,3 +1,8 @@
+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
index 54ec3f2..6f98e2d 100644 (file)
@@ -1707,6 +1707,9 @@ and reads its face argument using `hi-lock-read-face-name'."
 \f
 (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))