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

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

[elpa] externals/embark 725794f 2/2: Merge pull request #430 from locala


From: ELPA Syncer
Subject: [elpa] externals/embark 725794f 2/2: Merge pull request #430 from localauthor/fix-file-at-point
Date: Sun, 12 Dec 2021 15:57:17 -0500 (EST)

branch: externals/embark
commit 725794f01347a8b1f25c6aea58886a1a0b14fc5b
Merge: 8f19109 eb40e2b
Author: Omar AntolĂ­n Camarena <omar.antolin@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #430 from localauthor/fix-file-at-point
    
    Minor fix for embark-target-file-at-point
---
 embark.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/embark.el b/embark.el
index dabcbce..f24d182 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]