mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-01 11:14:55 +00:00
(occur): Set buffer-read-only.
This commit is contained in:
parent
01c752b506
commit
5ddf4bdac0
@ -622,7 +622,8 @@ the matching is case-sensitive."
|
||||
(format "%d lines" occur-num-matches))))
|
||||
(insert message-string)
|
||||
(if (interactive-p)
|
||||
(message "%s matched" message-string)))))))))
|
||||
(message "%s matched" message-string)))
|
||||
(setq buffer-read-only t)))))))
|
||||
|
||||
;; It would be nice to use \\[...], but there is no reasonable way
|
||||
;; to make that display both SPC and Y.
|
||||
|
Loading…
Reference in New Issue
Block a user