~protesilaos/denote

Fix quote protection in doc strings v1 APPLIED

Kyle Meyer: 1
 Fix quote protection in doc strings

 1 files changed, 3 insertions(+), 3 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~protesilaos/denote/patches/34117/mbox | git am -3
Learn more about email & git

[PATCH] Fix quote protection in doc strings Export this patch

A few doc strings put \\ in front of a single quote, but that doesn't
protect the quote from being processed according to
text-quoting-style.  Use \\= instead to ensure that the apostrophe is
rendered as is.
---
 denote.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/denote.el b/denote.el
index f757d05..b7533a1 100644
--- a/denote.el
+++ b/denote.el
@@ -809,7 +809,7 @@ (defun denote-type ()
  "Create note while prompting for a file type.

This is the equivalent to calling `denote' when `denote-prompts'
is set to \\'(file-type title keywords)."
is set to \\='(file-type title keywords)."
  (declare (interactive-only t))
  (interactive)
  (let ((denote-prompts '(file-type title keywords)))
@@ -891,7 +891,7 @@ (defun denote-date ()
that plus the time: 2022-06-16 14:30

This is the equivalent to calling `denote' when `denote-prompts'
is set to \\'(date title keywords)."
is set to \\='(date title keywords)."
  (declare (interactive-only t))
  (interactive)
  (let ((denote-prompts '(date title keywords)))
@@ -941,7 +941,7 @@ (defun denote-subdirectory ()
`denote-directory' and any subdirectory thereof.

This is equivalent to calling `denote' when `denote-prompts' is set to
\\'(subdirectory title keywords)."
\\='(subdirectory title keywords)."
  (declare (interactive-only t))
  (interactive)
  (let ((denote-prompts '(subdirectory title keywords)))

base-commit: 8f3b20471c6f2f95f7aadcbea54896285912635d
-- 
2.37.0
Installed.  Thank you!