aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/rcompile.el
diff options
context:
space:
mode:
authorRoland McGrath1994-02-07 19:08:31 +0000
committerRoland McGrath1994-02-07 19:08:31 +0000
commit2559d4f338d869bf58445cdafcb10e7c1944d30b (patch)
tree4558c05044565028a3afa1450288e08d522cddc9 /lisp/rcompile.el
parente08d3f7ca56d17477d1461c0ae998184b334388e (diff)
downloademacs-2559d4f338d869bf58445cdafcb10e7c1944d30b.tar.gz
emacs-2559d4f338d869bf58445cdafcb10e7c1944d30b.zip
(remote-compile): Set comint-file-name-prefix in the compilation buffer.
Diffstat (limited to 'lisp/rcompile.el')
-rw-r--r--lisp/rcompile.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/rcompile.el b/lisp/rcompile.el
index 9c0e4f277cc..7b72686d590 100644
--- a/lisp/rcompile.el
+++ b/lisp/rcompile.el
@@ -1,6 +1,6 @@
1;;; rcompile.el Run a compilation on a remote machine 1;;; rcompile.el Run a compilation on a remote machine
2 2
3;;; Copyright (C) 1993 Free Software Foundation, Inc. 3;;; Copyright (C) 1993, 1994 Free Software Foundation, Inc.
4 4
5;; Author: Albert <alon@milcse.rtsg.mot.com> 5;; Author: Albert <alon@milcse.rtsg.mot.com>
6;; Maintainer: FSF 6;; Maintainer: FSF
@@ -163,6 +163,11 @@ See \\[compile]."
163 compile-command))) 163 compile-command)))
164 (setq remote-compile-host host) 164 (setq remote-compile-host host)
165 (save-some-buffers nil nil) 165 (save-some-buffers nil nil)
166 (compile-internal compile-command "No more errors"))) 166 (compile-internal compile-command "No more errors")
167 ;; Set comint-file-name-prefix in the compilation buffer so
168 ;; compilation-parse-errors will find referenced files by ange-ftp.
169 (save-excursion
170 (set-buffer compilation-last-buffer)
171 (setq comint-file-name-prefix (concat "/" host ":")))))
167 172
168;;; rcompile.el ends here 173;;; rcompile.el ends here