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

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

[elpa] externals/denote 467db4a5ea: Add more headings to denote.el outli


From: ELPA Syncer
Subject: [elpa] externals/denote 467db4a5ea: Add more headings to denote.el outline
Date: Sun, 3 Jul 2022 05:57:28 -0400 (EDT)

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

    Add more headings to denote.el outline
    
    You can fontify/navigate those with outline-minor-mode.  Also check my
    'logos' package.
---
 denote.el | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/denote.el b/denote.el
index 909c8610e1..8aea3fab50 100644
--- a/denote.el
+++ b/denote.el
@@ -441,6 +441,8 @@ output is sorted with `string-lessp'."
 
 ;;;; New note
 
+;;;;; Common helpers for new notes
+
 (defun denote--file-extension ()
   "Return file type extension based on `denote-file-type'."
   (pcase denote-file-type
@@ -641,6 +643,8 @@ Optional DEFAULT-TITLE is used as the default value."
     (setq denote-last-title
           (read-string format nil 'denote--title-history default-title))))
 
+;;;;; The `denote' command
+
 ;;;###autoload
 (defun denote (title keywords)
   "Create new note with the appropriate metadata and file name.
@@ -665,6 +669,8 @@ alphabetically in both the file name and file contents."
 
 (defalias 'denote-create-note (symbol-function 'denote))
 
+;;;;; The `denote-type' command
+
 (defvar denote--file-type-history nil
   "Minibuffer history of `denote--file-type-prompt'.")
 
@@ -699,6 +705,8 @@ When called from Lisp the FILETYPE must be a symbol."
 
 (defalias 'denote-create-note-using-type (symbol-function 'denote-type))
 
+;;;;; The `denote-date' command
+
 (defvar denote--date-history nil
   "Minibuffer history of `denote--date-prompt'.")
 



reply via email to

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