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:
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")
|
||||
;; 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue