mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-23 18:47:57 +00:00
(occur): Escape newlines when printing regexp.
This commit is contained in:
parent
6b1e327109
commit
d10ad24f45
@ -360,7 +360,8 @@ It serves as a menu to find any of the occurrences in this buffer.
|
||||
(set-buffer standard-output)
|
||||
;; We will insert the number of lines, and "lines", later.
|
||||
(insert " matching ")
|
||||
(prin1 regexp)
|
||||
(let ((print-escape-newlines t))
|
||||
(prin1 regexp))
|
||||
(insert " in buffer " (buffer-name buffer) ?. ?\n)
|
||||
(occur-mode)
|
||||
(setq occur-buffer buffer)
|
||||
|
Loading…
Reference in New Issue
Block a user