Mercurial > emacs
changeset 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 | a864b7f97b56 |
children | baf3b68f7e56 |
files | lisp/replace.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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)