Commit bda1925e authored by Colin Walters's avatar Colin Walters
Browse files

(occur-read-primary-args): Handle a bare 'C-u' correctly.

parent 30762c43
......@@ -612,7 +612,8 @@ If the value is nil, don't highlight the buffer names specially."
(if (equal input "")
default
input))
current-prefix-arg))
(when current-prefix-arg
(prefix-numeric-value current-prefix-arg))))
(defun occur (regexp &optional nlines)
"Show all lines in the current buffer containing a match for REGEXP.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment