From ef0bfec64787ed2645568df408dd6d3940eda966 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Mon, 1 Jul 2024 17:35:51 +0200 Subject: [PATCH] ; * lisp/progmodes/grep.el (grep-read-files): Fix completion table --- lisp/progmodes/grep.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)) -- 2.39.2