diff options
| -rw-r--r-- | lisp/rcompile.el | 9 |
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 |