From: Lars Ingebrigtsen Date: Sat, 17 Jul 2021 14:56:35 +0000 (+0200) Subject: Fix previous grep-file-at-point change X-Git-Tag: emacs-28.0.90~1829 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6b802a08cabfb23bdf1f65faa2ee163d3efa820d;p=emacs.git Fix previous grep-file-at-point change * lisp/progmodes/grep.el (grep-file-at-point): Fix previous change. --- diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 370bdd55163..91c72a9429f 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -1348,7 +1348,7 @@ command before it's run." (defun grep-file-at-point (point) "Return the name of the file at POINT a `grep-mode' buffer. The returned file name is relative." - (when-let ((msg (get-text-property (point) 'compilation-message)) + (when-let ((msg (get-text-property point 'compilation-message)) (loc (compilation--message->loc msg))) (caar (compilation--loc->file-struct loc))))