Skip to content

Commit

Permalink
Fix directory listing in same directory from cache being hit
Browse files Browse the repository at this point in the history
  • Loading branch information
jojojames committed Nov 23, 2024
1 parent 21f4ac6 commit edd8c1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fussy.el
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,8 @@ Implement `all-completions' interface with additional fuzzy / `flx' scoring."
(and
fussy-use-cache
(> (length string) 0)
;; e.g. ~/.emacs.d/url/ should not use entry from "~/.emacs.d/url".
(not (string-suffix-p "/" string))
(cl-copy-list
(gethash
(substring string 0 (- (length string) 1))
Expand Down

0 comments on commit edd8c1a

Please sign in to comment.