aboutsummaryrefslogtreecommitdiff
path: root/org-link-edit.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2023-12-09 18:50:26 -0500
committerKyle Meyer <kyle@kyleam.com>2023-12-09 18:51:18 -0500
commit239179077ed8029bdccf7c9d4abcc6ea7d1aa2bb (patch)
tree2f10f30143e0384e19ffffb20db8694bff31d16c /org-link-edit.el
parenta02f0870d9f3c6eaf36e5d7003a9fca0843e5cf3 (diff)
downloadorg-link-edit-239179077ed8029bdccf7c9d4abcc6ea7d1aa2bb.tar.gz
Tweak quoting in docstrings to silence byte-compiler
These trigger a 'wrong usage of unescaped single quotes' warning under Emacs 29.
Diffstat (limited to 'org-link-edit.el')
-rw-r--r--org-link-edit.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/org-link-edit.el b/org-link-edit.el
index a27a13d..b9c7a8e 100644
--- a/org-link-edit.el
+++ b/org-link-edit.el
@@ -213,10 +213,10 @@ If N is negative, slurp trailing blobs instead of leading blobs."
(defun org-link-edit--split-first-blobs (string n)
"Split STRING into (N first blobs . other) cons cell.
-'N first blobs' contains all text from the start of STRING up to
-the start of the N+1 blob. 'other' includes the remaining text
+`N first blobs' contains all text from the start of STRING up to
+the start of the N+1 blob. `other' includes the remaining text
of STRING. If the number of blobs in STRING is fewer than N,
-'other' is nil."
+`other' is nil."
(when (< n 0) (user-error "N cannot be negative"))
(with-temp-buffer
(insert string)
@@ -230,10 +230,10 @@ of STRING. If the number of blobs in STRING is fewer than N,
(defun org-link-edit--split-last-blobs (string n)
"Split STRING into (other . N last blobs) cons cell.
-'N last blobs' contains all text from the end of STRING back to
-the end of the N+1 last blob. 'other' includes the remaining
+`N last blobs' contains all text from the end of STRING back to
+the end of the N+1 last blob. `other' includes the remaining
text of STRING. If the number of blobs in STRING is fewer than
-N, 'other' is nil."
+N, `other' is nil."
(when (< n 0) (user-error "N cannot be negative"))
(with-temp-buffer
(insert string)