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

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

[elpa] externals/denote 4a3d3e5c5e 5/7: Don't check for Org when buttoni


From: ELPA Syncer
Subject: [elpa] externals/denote 4a3d3e5c5e 5/7: Don't check for Org when buttonizing
Date: Fri, 30 Sep 2022 09:57:37 -0400 (EDT)

branch: externals/denote
commit 4a3d3e5c5e4e081c93577d5120ea13d36c4306ee
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Don't check for Org when buttonizing
    
    This is already done by denote-link-buttonize-buffer
---
 denote.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/denote.el b/denote.el
index 9a59f17ebb..0c36883779 100644
--- a/denote.el
+++ b/denote.el
@@ -2539,8 +2539,7 @@ inserts links with just the identifier."
               (beg (point)))
         (progn
           (insert (denote-link--prepare-links final-files current-file 
id-only))
-          (unless (derived-mode-p 'org-mode)
-            (denote-link-buttonize-buffer beg (point))))
+          (denote-link-buttonize-buffer beg (point)))
       (user-error "No links matching `%s' that aren't yet present in the 
current buffer." regexp))))
 
 ;;;;; Links from Dired marks



reply via email to

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