branch: externals/embark commit 725794f01347a8b1f25c6aea58886a1a0b14fc5b Merge: 8f19109 eb40e2b Author: Omar AntolĂn Camarena <omar.anto...@gmail.com> Commit: GitHub <nore...@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)))))