[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote c4b3187039 04/10: Make 'denote-files' Org dynami
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote c4b3187039 04/10: Make 'denote-files' Org dynamic block file separator opt-in |
Date: |
Tue, 5 Dec 2023 03:58:14 -0500 (EST) |
branch: externals/denote
commit c4b3187039fa1d4838070b95f77de3e401a8630e
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Make 'denote-files' Org dynamic block file separator opt-in
This means that we do not introduce a separator by default. The 'nil'
value now means what it should.
---
README.org | 14 +++++++-------
denote-org-dblock.el | 4 ++--
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/README.org b/README.org
index d9e891a248..d478230e56 100644
--- a/README.org
+++ b/README.org
@@ -2522,7 +2522,7 @@ or manually write the following block in an Org file and
then type
To fully control the output, include these additional optional
parameters, which are described further below:
-: #+BEGIN: denote-files :regexp "YOUR REGEXP HERE" :sort-by-component nil
:reverse-sort nil :no-front-matter nil :file-separator t :add-links nil
+: #+BEGIN: denote-files :regexp "YOUR REGEXP HERE" :sort-by-component nil
:reverse-sort nil :no-front-matter nil :file-separator nil :add-links nil
:
: #+END:
@@ -2548,12 +2548,12 @@ parameters, which are described further below:
#+vindex: denote-org-dblock-file-contents-separator
- The =:file-separator= parameter is optional. If it is omitted, then
- Denote will use the ~denote-org-dblock-file-contents-separator~: it
- introduces some empty lines and a horizontal rule between them to
- visually distinguish individual files. If the =:file-separator=
- value is a string, it is used as the file separator (e.g. use ="\n"=
- to insert just one empty new line). If the =:file-separator= value
- is set to =none=, no separator is used.
+ Denote will use no separator between the files it inserts. If the
+ value is ~t~ the ~denote-org-dblock-file-contents-separator~ is
+ applied at the end of each file: it introduces some empty lines and
+ a horizontal rule between them to visually distinguish individual
+ files. If the =:file-separator= value is a string, it is used as the
+ file separator (e.g. use ="\n"= to insert just one empty new line).
- The =:no-front-matter= parameter is optional. When set to a ~t~
value, Denote tries to remove front matter from the files it is
diff --git a/denote-org-dblock.el b/denote-org-dblock.el
index 5b4466d9fe..24e22f3fa9 100644
--- a/denote-org-dblock.el
+++ b/denote-org-dblock.el
@@ -176,7 +176,7 @@ argument."
(defun denote-org-dblock--separator (separator)
"Return appropriate value of SEPARATOR for `denote-org-dblock-add-files'."
(cond
- ((eq separator 'none) "")
+ ((null separator) "")
((stringp separator) separator)
(t denote-org-dblock-file-contents-separator)))
@@ -227,7 +227,7 @@ among `denote-sort-components'."
:sort-by-component sort-by-component
:reverse-sort nil
:no-front-matter nil
- :file-separator t
+ :file-separator nil
:add-links nil))
(org-update-dblock))
- [elpa] externals/denote updated (f1a942f2e7 -> a44b129601), ELPA Syncer, 2023/12/05
- [elpa] externals/denote 9f0ecc8d65 02/10: Add missing REVERSE argument in denote-org-dblock--files, ELPA Syncer, 2023/12/05
- [elpa] externals/denote 2add39ecd7 03/10: Support signature links in denote-org-dblock--get-file-contents, ELPA Syncer, 2023/12/05
- [elpa] externals/denote 860c5cca22 06/10: Show relative current file name in rename commands, ELPA Syncer, 2023/12/05
- [elpa] externals/denote 349b1ef898 07/10: Use correct indentation in denote-sort-files, ELPA Syncer, 2023/12/05
- [elpa] externals/denote 9c24528b3d 08/10: Define revert-buffer-function for denote-sort-dired, ELPA Syncer, 2023/12/05
- [elpa] externals/denote a44b129601 10/10: Update doc string of 'denote-org-dblock-insert-backlinks', ELPA Syncer, 2023/12/05
- [elpa] externals/denote 9d6b50b0c1 09/10: Add single prompt function for all "files matching regexp" type of prompts, ELPA Syncer, 2023/12/05
- [elpa] externals/denote 378873e83a 01/10: Make denote--keywords-add-to-history work only on a list, ELPA Syncer, 2023/12/05
- [elpa] externals/denote c4b3187039 04/10: Make 'denote-files' Org dynamic block file separator opt-in,
ELPA Syncer <=
- [elpa] externals/denote 0fe7122f70 05/10: Store denote-link-with-signature format in a private variable, ELPA Syncer, 2023/12/05