emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/drupal-mode 1a73416e78 190/308: Fixed flymake when real fi


From: ELPA Syncer
Subject: [nongnu] elpa/drupal-mode 1a73416e78 190/308: Fixed flymake when real file is in a symlinked dir.
Date: Tue, 25 Jan 2022 10:59:46 -0500 (EST)

branch: elpa/drupal-mode
commit 1a73416e786c745ba39ef058e48810b007956abc
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>

    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

[Prev in Thread] Current Thread [Next in Thread]