From: Roland McGrath Date: Mon, 7 Feb 1994 19:08:31 +0000 (+0000) Subject: (remote-compile): Set comint-file-name-prefix in the compilation buffer. X-Git-Tag: emacs-19.34~10024 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2559d4f338d869bf58445cdafcb10e7c1944d30b;p=emacs.git (remote-compile): Set comint-file-name-prefix in the compilation buffer. --- 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 @@ ;;; rcompile.el Run a compilation on a remote machine -;;; Copyright (C) 1993 Free Software Foundation, Inc. +;;; Copyright (C) 1993, 1994 Free Software Foundation, Inc. ;; Author: Albert ;; Maintainer: FSF @@ -163,6 +163,11 @@ See \\[compile]." compile-command))) (setq remote-compile-host host) (save-some-buffers nil nil) - (compile-internal compile-command "No more errors"))) + (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) + (setq comint-file-name-prefix (concat "/" host ":"))))) ;;; rcompile.el ends here