aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2012-12-15 13:27:48 +0100
committerJoakim Verona2012-12-15 13:27:48 +0100
commitf4a82a03025e1e977c40034a46395c78981d1afa (patch)
tree72c2bc40bd959f29fe5a985e7763405b92fcc1e1
parentd179ffe12349689a347be9113299c0afcf99be36 (diff)
parent8370def5c87fbab5f72420be9517b0e4676c306d (diff)
downloademacs-f4a82a03025e1e977c40034a46395c78981d1afa.tar.gz
emacs-f4a82a03025e1e977c40034a46395c78981d1afa.zip
auto upstream
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/isearch.el5
2 files changed, 10 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c291bba0f19..db5ae7e35d6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-12-15 Juri Linkov <juri@jurta.org>
2
3 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4 (Bug#13175)
5
12012-12-15 Christopher Schmidt <christopher@ch.ristopher.com> 62012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2 7
3 * dired-x.el (dired-guess-shell-command): Put colon at the end of 8 * dired-x.el (dired-guess-shell-command): Put colon at the end of
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 54ec3f2b052..6f98e2d3b12 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -1707,6 +1707,9 @@ and reads its face argument using `hi-lock-read-face-name'."
1707 1707
1708(defun isearch-delete-char () 1708(defun isearch-delete-char ()
1709 "Discard last input item and move point back. 1709 "Discard last input item and move point back.
1710Last input means the last character or the last isearch command
1711that added or deleted characters from the search string,
1712moved point, toggled regexp mode or case-sensitivity, etc.
1710If no previous match was done, just beep." 1713If no previous match was done, just beep."
1711 (interactive) 1714 (interactive)
1712 (if (null (cdr isearch-cmds)) 1715 (if (null (cdr isearch-cmds))
@@ -1716,6 +1719,8 @@ If no previous match was done, just beep."
1716 1719
1717(defun isearch-del-char (&optional arg) 1720(defun isearch-del-char (&optional arg)
1718 "Delete character from end of search string and search again. 1721 "Delete character from end of search string and search again.
1722Unlike `isearch-delete-char', it only deletes the last character,
1723but doesn't cancel the effect of other isearch command.
1719If search string is empty, just beep." 1724If search string is empty, just beep."
1720 (interactive "p") 1725 (interactive "p")
1721 (if (= 0 (length isearch-string)) 1726 (if (= 0 (length isearch-string))