[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6b802a0: Fix previous grep-file-at-point change
From: |
Lars Ingebrigtsen |
Subject: |
master 6b802a0: Fix previous grep-file-at-point change |
Date: |
Sat, 17 Jul 2021 10:56:42 -0400 (EDT) |
branch: master
commit 6b802a08cabfb23bdf1f65faa2ee163d3efa820d
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix previous grep-file-at-point change
* lisp/progmodes/grep.el (grep-file-at-point): Fix previous change.
---
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 370bdd5..91c72a9 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))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 6b802a0: Fix previous grep-file-at-point change,
Lars Ingebrigtsen <=