aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/replace.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index d146ef15489..e5a320d7fd2 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -612,7 +612,8 @@ If the value is nil, don't highlight the buffer names specially."
612 (if (equal input "") 612 (if (equal input "")
613 default 613 default
614 input)) 614 input))
615 current-prefix-arg)) 615 (when current-prefix-arg
616 (prefix-numeric-value current-prefix-arg))))
616 617
617(defun occur (regexp &optional nlines) 618(defun occur (regexp &optional nlines)
618 "Show all lines in the current buffer containing a match for REGEXP. 619 "Show all lines in the current buffer containing a match for REGEXP.