diff options
| author | Joakim Verona | 2012-12-15 13:27:48 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-12-15 13:27:48 +0100 |
| commit | f4a82a03025e1e977c40034a46395c78981d1afa (patch) | |
| tree | 72c2bc40bd959f29fe5a985e7763405b92fcc1e1 | |
| parent | d179ffe12349689a347be9113299c0afcf99be36 (diff) | |
| parent | 8370def5c87fbab5f72420be9517b0e4676c306d (diff) | |
| download | emacs-f4a82a03025e1e977c40034a46395c78981d1afa.tar.gz emacs-f4a82a03025e1e977c40034a46395c78981d1afa.zip | |
auto upstream
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/isearch.el | 5 |
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 @@ | |||
| 1 | 2012-12-15 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * isearch.el (isearch-delete-char, isearch-del-char): Doc fix. | ||
| 4 | (Bug#13175) | ||
| 5 | |||
| 1 | 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com> | 6 | 2012-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. |
| 1710 | Last input means the last character or the last isearch command | ||
| 1711 | that added or deleted characters from the search string, | ||
| 1712 | moved point, toggled regexp mode or case-sensitivity, etc. | ||
| 1710 | If no previous match was done, just beep." | 1713 | If 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. |
| 1722 | Unlike `isearch-delete-char', it only deletes the last character, | ||
| 1723 | but doesn't cancel the effect of other isearch command. | ||
| 1719 | If search string is empty, just beep." | 1724 | If search string is empty, just beep." |
| 1720 | (interactive "p") | 1725 | (interactive "p") |
| 1721 | (if (= 0 (length isearch-string)) | 1726 | (if (= 0 (length isearch-string)) |