Function: denote-rename-file-keywords
denote-rename-file-keywords is an interactive and byte-compiled
function defined in denote.el.
Signature
(denote-rename-file-keywords)
Documentation
Convenience command to change the keywords of a file.
Like denote-rename-file, but prompts only for keywords.
Add or remove keywords in one go. Do this by prepopulating the
minibuffer prompt with the existing keywords. The user can then insert
the crm-separator (normally a comma), to write new keywords or edit
what is in the prompt to rewrite them accordingly. An empty input means
to remove all keywords.
Please check the documentation of denote-rename-file with regard to
how a completion User Interface may accept an empty input.
Key Bindings
Aliases
denote-keywords-add (obsolete since 3.0.0)
denote-rename-add-keywords (obsolete since 3.0.0)
denote-rename-rename-keywords (obsolete since 3.0.0)
denote-keywords-remove (obsolete since 3.0.0)
Source Code
;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-rename-file-keywords ()
"Convenience command to change the keywords of a file.
Like `denote-rename-file', but prompts only for keywords.
Add or remove keywords in one go. Do this by prepopulating the
minibuffer prompt with the existing keywords. The user can then insert
the `crm-separator' (normally a comma), to write new keywords or edit
what is in the prompt to rewrite them accordingly. An empty input means
to remove all keywords.
Please check the documentation of `denote-rename-file' with regard to
how a completion User Interface may accept an empty input."
(declare (interactive-only t))
(interactive)
(let ((denote-prompts '(keywords)))
(call-interactively #'denote-rename-file)))