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

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

[elpa] externals/denote 3480421488 4/5: Merge pull request #415 from jea


From: ELPA Syncer
Subject: [elpa] externals/denote 3480421488 4/5: Merge pull request #415 from jeanphilippegg/backlinks-buttons
Date: Mon, 26 Aug 2024 03:57:50 -0400 (EDT)

branch: externals/denote
commit 3480421488e0f7eb9f8b4accc5e7a4ce498c05c6
Merge: 4e2d9c91c9 0aea944616
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #415 from jeanphilippegg/backlinks-buttons
    
    Use absolute file path in denote-link--backlink-find-file
---
 denote.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index c7a31fbf98..fc13c5fb72 100644
--- a/denote.el
+++ b/denote.el
@@ -4280,7 +4280,9 @@ major mode is not `org-mode' (or derived therefrom).  
Consider using
 
 (defun denote-link--backlink-find-file (button)
   "Action for BUTTON to `find-file'."
-  (funcall denote-link-button-action (buffer-substring (button-start button) 
(button-end button))))
+  (funcall denote-link-button-action
+           (concat (denote-directory)
+                   (buffer-substring (button-start button) (button-end 
button)))))
 
 (defun denote-link--display-buffer (buf &optional action)
   "Run `display-buffer' on BUF using optional ACTION alist.



reply via email to

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