From 95b4d4c5b1c6a50661f17dd5a05822d24379f1ca Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 29 Apr 2025 12:54:50 +0800 Subject: [PATCH] * lisp/progmodes/grep.el (grep-hello-file): Fix another typo. (cherry picked from commit 8970c9589bfb9b89d2e302cf70374a8cb7bb6c81) --- lisp/progmodes/grep.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 5ea470aac37..33f8bb7aa63 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -708,7 +708,7 @@ first capture group of `grep-heading-regexp'.") (file-name-as-directory (temporary-file-directory))))) (when (file-remote-p file-name) - (write-region "Copyright\n" nil result)) + (write-region "Copyright\n" nil file-name)) file-name)) ((and (eq system-type 'android) (featurep 'android)) ;; /assets/etc is not accessible to grep or other shell -- 2.39.5