Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
[icons] Look for exact file name
Browse files Browse the repository at this point in the history
  • Loading branch information
david committed Apr 3, 2023
1 parent 281c94b commit e51e590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edie-desktop.el
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Return nil if the file can't be found."
(dolist (dir (edie-desktop-icon-theme-dirs))
(when-let ((paths (directory-files-recursively
dir
(format "%s.svg" name)
(format "\\`%s.svg\\'" name)
nil
(lambda (d)
(or (string= (file-name-concat dir (file-name-nondirectory d)) d)
Expand Down

0 comments on commit e51e590

Please sign in to comment.