> Why not (add-function :around (local isearch-search-fun-function) > #'dired--isearch-filenames) > and then > > (defun dired--isearch-filenames (iiff &rest args) > (let ((fun (apply iiff args))) > (lambda (&rest args) > (unless (get-text-property (point) 'dired-filename) > (if isearch-forward > (goto-char (or (next-single-property-change > (point) 'dired-filename) > (point-max))) > (goto-char (or (previous-single-property-change > (point) 'dired-filename) > (point-min))))) > (apply fun args)))) After a short delay, this has been implemented now: