branch: externals/ef-themes
commit 04d531795269640a20459371699be51da498498b
Author: Philip Kaludercic <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
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)