branch: elpa/editorconfig
commit 1677c88f9062fe8084afd24be9c520be57cc192c
Author: Kaleb Elwert <ka...@coded.io>
Commit: GitHub <nore...@github.com>

    Fix excluding the recentf-save-file when in a symlinked directory (#256)
---
 editorconfig.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/editorconfig.el b/editorconfig.el
index 9fc2d85..334f419 100644
--- a/editorconfig.el
+++ b/editorconfig.el
@@ -318,7 +318,7 @@ When variable `buffer-file-name' matches any of the 
regexps, then
 (with-eval-after-load 'recentf
   (add-to-list 'editorconfig-exclude-regexps
                (rx-to-string '(seq string-start
-                                   (eval (expand-file-name recentf-save-file)))
+                                   (eval (file-truename (expand-file-name 
recentf-save-file))))
                              t)))
 
 (defcustom editorconfig-trim-whitespaces-mode nil

Reply via email to