[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 1b2ab658fc 1/6: Let denote-file-type accept expl
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 1b2ab658fc 1/6: Let denote-file-type accept explicit 'org' symbol |
Date: |
Sun, 28 Aug 2022 00:57:29 -0400 (EDT) |
branch: externals/denote
commit 1b2ab658fc448d8b71bf20655e15051994acca9d
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Let denote-file-type accept explicit 'org' symbol
This was already possible before, but now we make it explicit to avoid
potential confusion.
---
README.org | 3 ++-
denote.el | 6 ++++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/README.org b/README.org
index 7950d47714..05acb48e1e 100644
--- a/README.org
+++ b/README.org
@@ -911,7 +911,8 @@ includes the title and keywords (aka "tags" or "filetags",
depending on
the file type) which the user specified at the relevant prompt, as well
as the date and unique identifier, which are derived automatically.
-This is how it looks for Org mode (when ~denote-file-type~ is nil):
+This is how it looks for Org mode (when ~denote-file-type~ is nil or the
+=org= symbol):
#+begin_example
#+title: This is a sample note
diff --git a/denote.el b/denote.el
index 42605e89f9..d4f9f28259 100644
--- a/denote.el
+++ b/denote.el
@@ -277,6 +277,7 @@ Reduce them to a single word, such as by turning
<word1_word2> or
"The file type extension for new notes.
By default (a nil value), the file type is that of Org mode.
+Though the `org' can be specified for the same effect.
When the value is the symbol `markdown-yaml', the file type is
that of Markdown mode and the front matter uses YAML. Similarly,
@@ -287,11 +288,12 @@ When the value is `text', the file type is that of Text
mode.
Any other non-nil value is the same as the default."
:type '(choice
- (const :tag "Org mode (default)" nil)
+ (const :tag "Unspecified (defaults to Org)" nil)
+ (const :tag "Org mode (default)" org)
(const :tag "Markdown (YAML front matter)" markdown-yaml)
(const :tag "Markdown (TOML front matter)" markdown-toml)
(const :tag "Plain text" text))
- :package-version '(denote . "0.1.0")
+ :package-version '(denote . "0.6.0")
:group 'denote)
(defcustom denote-date-format nil
- [elpa] externals/denote updated (ebd88bc271 -> f5b45f5f10), ELPA Syncer, 2022/08/28
- [elpa] externals/denote 651c985c81 5/6: Make minor correction to doc string, ELPA Syncer, 2022/08/28
- [elpa] externals/denote ca88b5a86a 2/6: Make another ancillary function public, ELPA Syncer, 2022/08/28
- [elpa] externals/denote 53f71dd406 3/6: Expand denote-file-types doc string, ELPA Syncer, 2022/08/28
- [elpa] externals/denote 1b2ab658fc 1/6: Let denote-file-type accept explicit 'org' symbol,
ELPA Syncer <=
- [elpa] externals/denote f5b45f5f10 6/6: Add TODO for denote-file-types, ELPA Syncer, 2022/08/28
- [elpa] externals/denote 399ad5e9f1 4/6: Clarify that KEYWORDS arg is a list of strings, ELPA Syncer, 2022/08/28