Mercurial > emacs
changeset 57600:8b57f4d6c462
(compilation-setup): Don't set buffer-read-only if MINOR is non-nil.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 19 Oct 2004 16:48:30 +0000 |
parents | da5237eef932 |
children | 83910fd04569 |
files | lisp/progmodes/compile.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/compile.el Tue Oct 19 16:41:04 2004 +0000 +++ b/lisp/progmodes/compile.el Tue Oct 19 16:48:30 2004 +0000 @@ -1186,7 +1186,8 @@ "Prepare the buffer for the compilation parsing commands to work. Optional argument MINOR indicates this is called from `compilation-minor-mode'." - (setq buffer-read-only t) + (unless minor + (setq buffer-read-only t)) (make-local-variable 'compilation-current-error) (make-local-variable 'compilation-messages-start) (make-local-variable 'compilation-error-screen-columns)