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

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

[elpa] externals/denote 5761ec5f89 34/39: BREAKING update journal sample


From: ELPA Syncer
Subject: [elpa] externals/denote 5761ec5f89 34/39: BREAKING update journal samples for current 'denote'
Date: Mon, 11 Jul 2022 00:57:46 -0400 (EDT)

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

    BREAKING update journal samples for current 'denote'
    
    We changed the 'denote' command to always expect a list for its KEYWORDS
    argument.  If you were passing a single string, please update it to a
    list with a string instead.  Also read the updated doc string of the
    'denote' command.
---
 README.org | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.org b/README.org
index b0b397ee2a..1d8511fdb6 100644
--- a/README.org
+++ b/README.org
@@ -972,7 +972,7 @@ you need is a simple wrapper function:
   (interactive)
   (denote
    (format-time-string "%A %e %B %Y") ; format like Tuesday 14 June 2022
-   "journal")) ; multiple keywords are a list of strings: '("one" "two")
+   '("journal"))) ; multiple keywords are a list of strings: '("one" "two")
 #+end_src
 
 By invoking ~my-denote-journal~ you will go straight into the newly
@@ -987,7 +987,7 @@ Of course, you can always set up the function so that it 
asks for a
   (interactive)
   (denote
    (denote--title-prompt) ; ask for title, instead of using human-readable date
-   "journal"))
+   '("journal")))
 #+end_src
 
 Sometimes journaling is done with the intent to hone one's writing
@@ -1007,7 +1007,7 @@ The `tmr' command is part of the `tmr' package."
   (interactive)
   (denote
    (format-time-string "%A %e %B %Y")
-   "journal")
+   '("journal"))
   (tmr 10 "Practice writing in my journal")) ; set 10 minute timer with a 
description
 #+end_src
 
@@ -1346,7 +1346,7 @@ Everything is in place to set up the package.
   (interactive)
   (denote
    (denote--title-prompt)
-   "journal"))
+   '("journal")))
 
 ;; Denote does not define any key bindings.  This is for the user to
 ;; decide.  For example:



reply via email to

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