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

[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



reply via email to

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