(compilation-setup): Don't set buffer-read-only if MINOR is non-nil.
This commit is contained in:
parent
08dedea656
commit
4f331dedca
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
`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)
|
||||
|
|
Loading…
Add table
Reference in a new issue