branch: externals/denote commit 768464999f28eaea99881f1e1f8e328d8af83a61 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Fix typo "sepator" to "separator" --- README.org | 4 ++-- denote.el | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.org b/README.org index 71ed68a1e0..45deea1498 100644 --- a/README.org +++ b/README.org @@ -222,7 +222,7 @@ The value is a list of symbols, which includes any of the following: is non-nil, keywords in existing note file names are included in the list of candidates. The =keywords= prompt uses ~completing-read-multiple~, meaning that it can accept multiple - keywords separated by a comma (or whatever the value of ~crm-sepator~ + keywords separated by a comma (or whatever the value of ~crm-separator~ is). - =file-type=: Prompts with completion for the file type of the new @@ -1227,7 +1227,7 @@ signature of =FILE=, if any. Same principle for the =KEYWORDS= prompt: it converts the keywords in the file name into a comma-separated string and prefills the minibuffer with it (the =KEYWORDS= prompt accepts more than one keywords, each -separated by a comma, else the ~crm-sepator~). +separated by a comma, else the ~crm-separator~). For all prompts, the ~denote-rename-file~ interprets an empty input as an instruction to remove that file name component. For example, if a diff --git a/denote.el b/denote.el index c7ddec5df5..80caf685f9 100644 --- a/denote.el +++ b/denote.el @@ -2775,7 +2775,7 @@ if any. Same principle for the KEYWORDS prompt: convert the keywords in the file name into a comma-separated string and prefill the minibuffer with it (the KEYWORDS prompt accepts more than one -keywords, each separated by a comma, else the `crm-sepator'). +keywords, each separated by a comma, else the `crm-separator'). For all prompts, interpret an empty input as an instruction to remove that file name component. For example, if a TITLE prompt @@ -3123,7 +3123,7 @@ Run `denote-after-rename-file-hook' as a final step." (defun denote--keywords-delete-prompt (keywords) "Prompt for one or more KEYWORDS. In the case of multiple entries, those are separated by the -`crm-sepator', which typically is a comma. In such a case, the +`crm-separator', which typically is a comma. In such a case, the output is sorted with `string-collate-lessp'." (let ((choice (denote--keywords-crm keywords "Keywords to remove"))) (if denote-sort-keywords