Commit 4f331ded authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(compilation-setup): Don't set buffer-read-only if MINOR is non-nil.

parent 08dedea6
......@@ -1186,7 +1186,8 @@ If nil, use the beginning of buffer.")
"Prepare the buffer for the compilation parsing commands to work.
Optional argument MINOR indicates this is called from
(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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment