emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/compile.el


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/compile.el
Date: Mon, 15 Nov 2004 23:58:05 -0500

Index: emacs/lisp/progmodes/compile.el
diff -c emacs/lisp/progmodes/compile.el:1.338 
emacs/lisp/progmodes/compile.el:1.339
*** emacs/lisp/progmodes/compile.el:1.338       Mon Nov 15 23:09:19 2004
--- emacs/lisp/progmodes/compile.el     Tue Nov 16 04:52:19 2004
***************
*** 1150,1155 ****
--- 1150,1156 ----
    (set (make-local-variable 'page-delimiter)
         compilation-page-delimiter)
    (compilation-setup)
+   (setq buffer-read-only t)
    (run-mode-hooks 'compilation-mode-hook))
  
  (defmacro define-compilation-mode (mode name doc &rest body)
***************
*** 1212,1219 ****
    "Prepare the buffer for the compilation parsing commands to work.
  Optional argument MINOR indicates this is called from
  `compilation-minor-mode'."
-   (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)
--- 1213,1218 ----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]