branch: externals/embark commit eb40e2bc1b70b8158fc8b9555e2132848bb86d44 Author: Grant Rosson <grantros...@gmail.com> Commit: Grant Rosson <grantros...@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)))))