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

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

[elpa] externals/denote 4c5d882f62 2/7: Add two more outline headings


From: ELPA Syncer
Subject: [elpa] externals/denote 4c5d882f62 2/7: Add two more outline headings
Date: Tue, 3 Sep 2024 07:46:37 -0400 (EDT)

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

    Add two more outline headings
---
 denote.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/denote.el b/denote.el
index dd34fd6668..20e33a493f 100644
--- a/denote.el
+++ b/denote.el
@@ -928,6 +928,8 @@ to override what this function returns."
       (denote--make-denote-directory)
       denote-directory)))
 
+;;;;; Sluggification functions
+
 (defun denote--slug-no-punct (str &optional extra-characters)
   "Remove punctuation from STR.
 Concretely, replace with an empty string anything that matches
@@ -1058,6 +1060,8 @@ any leading and trailing signs."
             (denote-sluggify 'keyword keyword))
           keywords))
 
+;;;;; Common helper functions
+
 (defun denote--file-empty-p (file)
   "Return non-nil if FILE is empty."
   (zerop (or (file-attribute-size (file-attributes file)) 0)))



reply via email to

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