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: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/compile.el
Date: Fri, 04 Apr 2003 01:22:50 -0500

Index: emacs/lisp/progmodes/compile.el
diff -c emacs/lisp/progmodes/compile.el:1.270 
emacs/lisp/progmodes/compile.el:1.271
*** emacs/lisp/progmodes/compile.el:1.270       Sat Dec 14 18:30:36 2002
--- emacs/lisp/progmodes/compile.el     Mon Jan 13 03:02:47 2003
***************
*** 1245,1252 ****
    (run-hooks 'compilation-mode-hook))
  
  (defun compilation-revert-buffer (ignore-auto noconfirm)
!   (if (or noconfirm (yes-or-no-p (format "Restart compilation? ")))
!       (apply 'compile-internal compilation-arguments)))
  
  (defun compilation-setup ()
    "Prepare the buffer for the compilation parsing commands to work."
--- 1245,1255 ----
    (run-hooks 'compilation-mode-hook))
  
  (defun compilation-revert-buffer (ignore-auto noconfirm)
!   (if buffer-file-name
!       (let (revert-buffer-function)
!       (revert-buffer ignore-auto noconfirm preserve-modes))
!     (if (or noconfirm (yes-or-no-p (format "Restart compilation? ")))
!       (apply 'compile-internal compilation-arguments))))
  
  (defun compilation-setup ()
    "Prepare the buffer for the compilation parsing commands to work."




reply via email to

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