branch: externals/denote
commit e64daa0cd6f39d76e28ebe8b48762bd3c14b8da7
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Remove 'require' for outline because outline-minor mode is autoloaded 
already
    
    This builds on top of commit f70c96c, which was contributed by Lucas
    Quintana in pull request 571: 
<https://github.com/protesilaos/denote/pull/571>.
    
    Lucas has assigned copyright to the Free Software Foundation.
---
 denote.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/denote.el b/denote.el
index 791224dd9f..2035bed151 100644
--- a/denote.el
+++ b/denote.el
@@ -5133,9 +5133,8 @@ This is used by the commands `denote-backlinks', 
`denote-grep',
 `denote-query-contents-link', and `denote-query-filenames-link', among
 others."
   :interactive nil
-  (require 'outline)
   (setq-local outline-minor-mode-use-buttons 'in-margins)
-  (outline-minor-mode))
+  (outline-minor-mode 1))
 
 (define-obsolete-function-alias
   'denote-link--prepare-backlinks

Reply via email to