mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-19 04:10:18 -08:00
(remote-compile): Use make-local-variable.
This commit is contained in:
parent
3f3960a544
commit
3432260a6f
1 changed files with 3 additions and 4 deletions
|
|
@ -171,9 +171,8 @@ See \\[compile]."
|
||||||
(compile-internal compile-command "No more errors")
|
(compile-internal compile-command "No more errors")
|
||||||
;; Set comint-file-name-prefix in the compilation buffer so
|
;; Set comint-file-name-prefix in the compilation buffer so
|
||||||
;; compilation-parse-errors will find referenced files by ange-ftp.
|
;; compilation-parse-errors will find referenced files by ange-ftp.
|
||||||
(save-excursion
|
(with-current-buffer compilation-last-buffer
|
||||||
(set-buffer compilation-last-buffer)
|
(set (make-local-variable 'comint-file-name-prefix)
|
||||||
(make-variable-buffer-local 'comint-file-name-prefix)
|
(concat "/" host ":")))))
|
||||||
(setq comint-file-name-prefix (concat "/" host ":")))))
|
|
||||||
|
|
||||||
;;; rcompile.el ends here
|
;;; rcompile.el ends here
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue