Commit 3432260a authored by Stefan Monnier's avatar Stefan Monnier
Browse files

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

parent 3f3960a5
......@@ -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.
(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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment