[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote ed1402ad30 1/2: BREAKING: Use plural in new comm
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote ed1402ad30 1/2: BREAKING: Use plural in new command symbols |
Date: |
Sat, 15 Oct 2022 08:57:29 -0400 (EDT) |
branch: externals/denote
commit ed1402ad30d5877762eb5f53ee43c65298e8b1e1
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
BREAKING: Use plural in new command symbols
See commits 6c26b18, 91c25fb.
---
README.org | 10 +++++-----
denote.el | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/README.org b/README.org
index db64a0b88d..d47a7c71b9 100644
--- a/README.org
+++ b/README.org
@@ -467,17 +467,17 @@ that is common in interactions with Org mode, can set the
user option
[ Part of {{{development-version}}}. ]
-#+findex: denote-keyword-add
-#+findex: denote-keyword-remove
-The commands ~denote-keyword-add~ and ~denote-keyword-remove~
+#+findex: denote-keywords-add
+#+findex: denote-keywords-remove
+The commands ~denote-keywords-add~ and ~denote-keywords-remove~
streamline the process of interactively updating a file's keywords in
the front matter and renaming it accordingly.
-The ~denote-keyword-add~ asks for keywords using the familiar
+The ~denote-keywords-add~ asks for keywords using the familiar
minibuffer prompt ([[#h:6a92a8b5-d766-42cc-8e5b-8dc255466a23][Standard note
creation]]). It then renames the file
([[#h:3ab08ff4-81fa-4d24-99cb-79f97c13a373][Rename a single file based on its
front matter]]).
-Similarly, the ~denote-keyword-remove~ removes a keyword from the list
+Similarly, the ~denote-keywords-remove~ removes a keyword from the list
of existing keywords and then renames the file accordingly.
** Create note using Org capture
diff --git a/denote.el b/denote.el
index d8f30e445d..49dc085b24 100644
--- a/denote.el
+++ b/denote.el
@@ -1573,7 +1573,7 @@ If file does not exist, invoke `denote' to create a file."
(call-interactively #'denote)))
;;;###autoload
-(defun denote-keyword-add (keywords)
+(defun denote-keywords-add (keywords)
"Prompt for KEYWORDS to add to the current note's front matter.
When called from Lisp, KEYWORDS is a list of strings.
@@ -1595,7 +1595,7 @@ the new front matter, per
`denote-rename-file-using-front-matter'."
(message "Buffer not visiting a Denote file")))
;;;###autoload
-(defun denote-keyword-remove ()
+(defun denote-keywords-remove ()
"Prompt for a keyword in current note and remove it.
Keywords are retrieved from the file's front matter.