branch: externals/hyperbole
commit eead7cca6c4e88e583d9d8a4edbc06c6a6c6e214
Author: Mats Lidell <[email protected]>
Commit: Mats Lidell <[email protected]>
Fix control char warnings in docstrings
---
hib-kbd.el | 8 ++++----
hpath.el | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/hib-kbd.el b/hib-kbd.el
index 00a408bcd8..9d93b9e0db 100644
--- a/hib-kbd.el
+++ b/hib-kbd.el
@@ -3,7 +3,7 @@
;; Author: Bob Weiner
;;
;; Orig-Date: 22-Nov-91 at 01:37:57
-;; Last-Mod: 18-Feb-24 at 11:39:41 by Mats Lidell
+;; Last-Mod: 23-Jun-24 at 00:04:17 by Mats Lidell
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
@@ -105,7 +105,7 @@ Return t if the sequence appears to be valid, else nil."
"Execute a key series (series of key sequences) around point.
The key series is delimited by curly braces, {}. Key sequences
should be in human readable form, e.g. {C-x C-b}, or what
-`key-description' returns. Forms such as {\C-b}, {\^b}, and {^M}
+`key-description' returns. Forms such as {\\`C-b'}, {\\`^b'}, and {\\`^M'}
will not be recognized.
Any key sequence within the series must be a string of one of the following:
@@ -260,8 +260,8 @@ With optional prefix arg FULL, display full documentation
for command."
When STR is a curly-brace {} delimited key series, a
non-delimited, normalized form is returned, else nil. Key
sequences should be in human readable form, e.g. {\\`C-x' \\`C-b'}, or
-what `key-description' returns. Forms such as {\\`C-b'}, {\^b}, and
-{^M} will not be recognized.
+what `key-description' returns. Forms such as {\\`C-b'}, {\\`^b'}, and
+{\\`^M'} will not be recognized.
Any key sequence within the series must be a string of one of the following:
a Hyperbole minibuffer menu item key sequence,
diff --git a/hpath.el b/hpath.el
index d4abba08ae..e687b39590 100644
--- a/hpath.el
+++ b/hpath.el
@@ -3,7 +3,7 @@
;; Author: Bob Weiner
;;
;; Orig-Date: 1-Nov-91 at 00:44:23
-;; Last-Mod: 18-May-24 at 19:06:22 by Bob Weiner
+;; Last-Mod: 23-Jun-24 at 00:09:03 by Mats Lidell
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
@@ -2168,7 +2168,7 @@ point ends within the narrowed region."
(narrow-to-region omin omax)))))
(defun hpath:trim (path)
- "Return PATH with any [\" \t\n\r] characters trimmed from its start and end."
+ "Return PATH with any [\" \\t\\n\\r] characters trimmed from its start and
end."
;; Trim only matching starting and ending quoted double quotes (must
;; be a single line string).
(setq path (string-trim path))