Skip to content

Commit edd8c1a

Browse files
committed
Fix directory listing in same directory from cache being hit
1 parent 21f4ac6 commit edd8c1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fussy.el

+2
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,8 @@ Implement `all-completions' interface with additional fuzzy / `flx' scoring."
514514
(and
515515
fussy-use-cache
516516
(> (length string) 0)
517+
;; e.g. ~/.emacs.d/url/ should not use entry from "~/.emacs.d/url".
518+
(not (string-suffix-p "/" string))
517519
(cl-copy-list
518520
(gethash
519521
(substring string 0 (- (length string) 1))

0 commit comments

Comments
 (0)