Mercurial > emacs
diff lisp/replace.el @ 10155:689adf47dee3
(occur): Escape newlines when printing regexp.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Tue, 13 Dec 1994 22:13:40 +0000 |
| parents | 8a04af3511c1 |
| children | 7953cde9d951 |
line wrap: on
line diff
--- a/lisp/replace.el Tue Dec 13 18:53:37 1994 +0000 +++ b/lisp/replace.el Tue Dec 13 22:13:40 1994 +0000 @@ -360,7 +360,8 @@ (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)
