Skip to content

Commit 1a73416

Browse files
committed
Fixed flymake when real file is in a symlinked dir.
Fixes #14.
1 parent cd07abb commit 1a73416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drupal/flymake-phpcs.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ file (and thus on the remote machine), or in the same place as
9999
'drupal/flymake-phpcs-create-temp-intemp
100100
'drupal/flymake-phpcs-create-temp-inplace)))
101101
(local-file (file-relative-name temp-file
102-
(file-name-directory buffer-file-name))))
102+
(file-name-directory (file-truename buffer-file-name)))))
103103
(list flymake-phpcs-command
104104
(append
105105
(list local-file)

0 commit comments

Comments
 (0)