From 9942e063b30f199e2590c1c0ec436961be47df39 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Wed, 6 Dec 2023 19:28:24 +0100 Subject: [PATCH] fix: actually open files when one is found --- quick-find-files.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quick-find-files.el b/quick-find-files.el index 962d0ae..61e8db6 100644 --- a/quick-find-files.el +++ b/quick-find-files.el @@ -162,9 +162,9 @@ empty, all files are to be looked for." (when arg (setq dir (read-file-name "Root directory: ")) (setq ext (read-string "File extension (leave blank for all files): "))) - (funcall quick-find-files-completing-read - "Open file: " - (quick-find-files-list-files dir ext)))) + (find-file (funcall quick-find-files-completing-read + "Open file: " + (quick-find-files-list-files dir ext))))) ; Provides ;;;;;;;;;;;;;;;;;;;;;;;;;;;;