~protesilaos/denote

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Fix quote protection in doc strings

Details
Message ID
<20220723193528.13297-1-kyle@kyleam.com>
DKIM signature
missing
Download raw message
Patch: +3 -3
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
Details
Message ID
<877d43fwi4.fsf@protesilaos.com>
In-Reply-To
<20220723193528.13297-1-kyle@kyleam.com> (view parent)
DKIM signature
missing
Download raw message
> From: Kyle Meyer <kyle@kyleam.com>
> Date: Sat, 23 Jul 2022 15:35:28 -0400
>
> 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(-)

Installed.  Thank you!

-- 
Protesilaos Stavrou
https://protesilaos.com
Reply to thread Export thread (mbox)