summaryrefslogtreecommitdiff
path: root/lisp/progmodes/flymake.el
diff options
context:
space:
mode:
authorMichael Albinus <albinus@detlef>2010-08-18 20:24:52 +0200
committerMichael Albinus <albinus@detlef>2010-08-18 20:24:52 +0200
commita67e6f13345ce7307ada22a8226da192f47299ac (patch)
tree986516c4c4b7c0ce271f655e74192653bda82f0f /lisp/progmodes/flymake.el
parentf3cc64f80843f278814b69bd0a8b2642d31dda77 (diff)
downloademacs-a67e6f13345ce7307ada22a8226da192f47299ac.tar.gz
* progmodes/flymake.el (flymake-start-syntax-check-process): Use
`start-file-process' in order to let it run also on remote hosts.
Diffstat (limited to 'lisp/progmodes/flymake.el')
-rw-r--r--lisp/progmodes/flymake.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 2a198215536..712af6fd288 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -1152,7 +1152,8 @@ For the format of LINE-ERR-INFO, see `flymake-ler-make-ler'."
(when dir
(let ((default-directory dir))
(flymake-log 3 "starting process on dir %s" default-directory)))
- (setq process (apply 'start-process "flymake-proc" (current-buffer) cmd args))
+ (setq process (apply 'start-file-process
+ "flymake-proc" (current-buffer) cmd args))
(set-process-sentinel process 'flymake-process-sentinel)
(set-process-filter process 'flymake-process-filter)
(push process flymake-processes)