1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(remote-compile): Use make-local-variable.

This commit is contained in:
Stefan Monnier 2001-07-16 02:07:12 +00:00
parent 3f3960a544
commit 3432260a6f

View file

@ -171,9 +171,8 @@ See \\[compile]."
(compile-internal compile-command "No more errors")
;; Set comint-file-name-prefix in the compilation buffer so
;; compilation-parse-errors will find referenced files by ange-ftp.
(save-excursion
(set-buffer compilation-last-buffer)
(make-variable-buffer-local 'comint-file-name-prefix)
(setq comint-file-name-prefix (concat "/" host ":")))))
(with-current-buffer compilation-last-buffer
(set (make-local-variable 'comint-file-name-prefix)
(concat "/" host ":")))))
;;; rcompile.el ends here