mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
; * lisp/progmodes/project.el (project-compile): Fix last change.
This commit is contained in:
parent
30e178e7cb
commit
0f90cc033d
1 changed files with 3 additions and 2 deletions
|
|
@ -1659,8 +1659,9 @@ If non-nil, it overrides `compilation-buffer-name-function' for
|
||||||
(when orig-current-buffer
|
(when orig-current-buffer
|
||||||
(kill-local-variable 'compile-command))
|
(kill-local-variable 'compile-command))
|
||||||
(unwind-protect (call-interactively #'compile)
|
(unwind-protect (call-interactively #'compile)
|
||||||
(with-current-buffer orig-current-buffer
|
(when orig-current-buffer
|
||||||
(setq-local compile-command orig-compile-command)))))
|
(with-current-buffer orig-current-buffer
|
||||||
|
(setq-local compile-command orig-compile-command))))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun project-recompile (&optional edit-command)
|
(defun project-recompile (&optional edit-command)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue