emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/embark eb40e2b 1/2: Fix: embark-target-file-at-point


From: ELPA Syncer
Subject: [elpa] externals/embark eb40e2b 1/2: Fix: embark-target-file-at-point
Date: Sun, 12 Dec 2021 15:57:17 -0500 (EST)

branch: externals/embark
commit eb40e2bc1b70b8158fc8b9555e2132848bb86d44
Author: Grant Rosson <grantrosson@gmail.com>
Commit: Grant Rosson <grantrosson@gmail.com>

    Fix: embark-target-file-at-point
---
 embark.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/embark.el b/embark.el
index 50f5de3..3c909e0 100644
--- a/embark.el
+++ b/embark.el
@@ -701,7 +701,7 @@ In `dired-mode', it uses `dired-get-filename' instead."
                 ;; symbols when point is on the colon (see bug#52441)
                 ((string-match-p (regexp-quote tap-file) ffap-file))
                 ((not (ffap-el-mode tap-file))))
-      `(file ,(abbreviate-file-name (expand-file-name file))
+      `(file ,(abbreviate-file-name (expand-file-name ffap-file))
              ;; TODO the boundaries may be wrong, this should be generalized.
              ;; Unfortunately ffap does not make the bounds available.
              . ,(bounds-of-thing-at-point 'filename)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]