diff options
| author | Juri Linkov | 2018-04-19 22:45:08 +0300 |
|---|---|---|
| committer | Juri Linkov | 2018-04-19 22:45:08 +0300 |
| commit | 54f60fcad198be5f39fead6f4d453cea0942322a (patch) | |
| tree | 6e224c88779516e834f3dd62009d0483fac087b3 /lisp/replace.el | |
| parent | 75a32f48745a647755821a0d9ae09272286b36ef (diff) | |
| download | emacs-54f60fcad198be5f39fead6f4d453cea0942322a.tar.gz emacs-54f60fcad198be5f39fead6f4d453cea0942322a.zip | |
* lisp/isearch.el (isearch-mode-map): Restore advertised bindings.
Remove obsolete comments and code.
* lisp/replace.el (occur-find-match): Use user-error instead of error.
(Bug#14912)
Diffstat (limited to 'lisp/replace.el')
| -rw-r--r-- | lisp/replace.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/replace.el b/lisp/replace.el index ebdf99d6eb8..7f3541d7735 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -1258,7 +1258,7 @@ To return to ordinary Occur mode, use \\[occur-cease-edit]." | |||
| 1258 | (setq r (funcall search r 'occur-match))) | 1258 | (setq r (funcall search r 'occur-match))) |
| 1259 | (if r | 1259 | (if r |
| 1260 | (goto-char r) | 1260 | (goto-char r) |
| 1261 | (error message)) | 1261 | (user-error message)) |
| 1262 | (setq n (1- n))))) | 1262 | (setq n (1- n))))) |
| 1263 | 1263 | ||
| 1264 | (defun occur-next (&optional n) | 1264 | (defun occur-next (&optional n) |