From: Eshel Yaron Date: Mon, 1 Jul 2024 15:35:51 +0000 (+0200) Subject: ; * lisp/progmodes/grep.el (grep-read-files): Fix completion table X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ef0bfec64787ed2645568df408dd6d3940eda966;p=emacs.git ; * lisp/progmodes/grep.el (grep-read-files): Fix completion table --- diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 7c8a3124da4..7ac19501741 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -1179,9 +1179,7 @@ REGEXP is used as a string in the prompt." (files (completing-read (format-prompt "Search for \"%s\" in files matching wildcard" default regexp) - (completion-table-merge - (lambda (_string _pred _action) defaults) - #'read-file-name-internal) + (completion-table-merge defaults #'completion-file-name-table) nil nil nil 'grep-files-history defaults))) (and files (or (cdr (assoc files grep-files-aliases))