branch: elpa/drupal-mode
commit 1a73416e786c745ba39ef058e48810b007956abc
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>

    Fixed flymake when real file is in a symlinked dir.
    
    Fixes #14.
---
 drupal/flymake-phpcs.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drupal/flymake-phpcs.el b/drupal/flymake-phpcs.el
index e30e7e9bc5..f89d50f577 100644
--- a/drupal/flymake-phpcs.el
+++ b/drupal/flymake-phpcs.el
@@ -99,7 +99,7 @@ file (and thus on the remote machine), or in the same place as
                          'drupal/flymake-phpcs-create-temp-intemp
                        'drupal/flymake-phpcs-create-temp-inplace)))
          (local-file (file-relative-name temp-file
-                                         (file-name-directory 
buffer-file-name))))
+                                         (file-name-directory (file-truename 
buffer-file-name)))))
     (list flymake-phpcs-command
           (append
            (list local-file)

Reply via email to