Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Turn off flymake for TRAMP-edited files.

  • Loading branch information...
commit 803737f5eb406786aac0db5f0c09617cc887ada9 1 parent 2474c8b
@smerritt smerritt authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 starter-kit-ruby.el
View
5 starter-kit-ruby.el
@@ -81,7 +81,10 @@ exec-to-string command, but it works and seems fast"
(when (and buffer-file-name
(file-writable-p
(file-name-directory buffer-file-name))
- (file-writable-p buffer-file-name))
+ (file-writable-p buffer-file-name)
+ (not (subsetp
+ (list (current-buffer))
+ (tramp-list-remote-buffers))))
(local-set-key (kbd "C-c d")
'flymake-display-err-menu-for-current-line)
(flymake-mode t))))))
Please sign in to comment.
Something went wrong with that request. Please try again.