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

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

[elpa] externals/ef-themes 04d5317952 09/10: Compare files using 'file-e


From: ELPA Syncer
Subject: [elpa] externals/ef-themes 04d5317952 09/10: Compare files using 'file-equal-p'
Date: Fri, 19 Aug 2022 13:57:39 -0400 (EDT)

branch: externals/ef-themes
commit 04d531795269640a20459371699be51da498498b
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Compare files using 'file-equal-p'
    
    Doing so is generally more resilient and might avoid an unexpected
    edge case in the future.
---
 ef-themes.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ef-themes.el b/ef-themes.el
index 57b26957c1..5683260936 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -1385,7 +1385,7 @@ Those are stored in `ef-themes-faces' and
 ;;;###autoload
 (when load-file-name
   (let ((dir (file-name-directory load-file-name)))
-    (unless (equal dir (expand-file-name "themes/" data-directory))
+    (unless (file-equal-p dir (expand-file-name "themes/" data-directory))
       (add-to-list 'custom-theme-load-path dir))))
 
 (provide 'ef-themes)



reply via email to

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