summaryrefslogtreecommitdiff
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2018-04-19 22:45:08 +0300
committerJuri Linkov <juri@linkov.net>2018-04-19 22:45:08 +0300
commit54f60fcad198be5f39fead6f4d453cea0942322a (patch)
tree6e224c88779516e834f3dd62009d0483fac087b3 /lisp/replace.el
parent75a32f48745a647755821a0d9ae09272286b36ef (diff)
downloademacs-54f60fcad198be5f39fead6f4d453cea0942322a.tar.gz
* 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.el2
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]."
(setq r (funcall search r 'occur-match)))
(if r
(goto-char r)
- (error message))
+ (user-error message))
(setq n (1- n)))))
(defun occur-next (&optional n)