commit f1c5ee62d7bc93be470f01d5c4b8ac5df9c58c35
parent 82d10aae9e4ef1bd445667511f6fb6e1ec1a6e3a
Author: Wojciech Siewierski <wojciech@siewierski.eu>
Date: Sun, 5 Mar 2023 23:35:13 +0100
Fix most of the checkdoc warnings
Diffstat:
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/kmacro-x-mc.el b/kmacro-x-mc.el
@@ -56,8 +56,7 @@ Example, with | being the point and ^ being the mark:
^
example-symbol|
- ^
-"
+ ^"
:type 'boolean)
(defcustom kmacro-x-mc-pre-apply-hook nil
@@ -89,8 +88,12 @@ with the new one, essentially skipping one occurence of a match.
If `kmacro-x-mc-mode' isn't enabled yet, PREFIX instead inverts
the `kmacro-x-mc-mark-whole-symbol' setting.
-Enables `kmacro-x-mc-mode' if not enabled yet, for the
-necessary initialization."
+Enables `kmacro-x-mc-mode' if not enabled yet, for the necessary
+initialization such as setting `kmacro-x-mc-regexp' and
+`kmacro-x-mc-offsets'.
+
+If BACKWARDS is non-nil, searches backwards.
+Otherwise searches forward."
;; Sanity check to prevent defining cursors with inconsistent
;; starting conditions.
@@ -180,7 +183,8 @@ See also: `kmacro-x-mc-mark-previous'"
(defun kmacro-x-mc-mark-previous (&optional prefix)
"Create a new fake cursor backwards.
-See `kmacro-x-mc-mark-next' for the details."
+See `kmacro-x-mc-mark-next' for the details and the PREFIX
+argument behavior."
(interactive "P")
(kmacro-x-mc--mark prefix 'backwards))
@@ -289,7 +293,7 @@ user directory.
(defvar-local kmacro-x-mc-change-group nil)
(defun kmacro-x-mc-undo-amalgamate-advice (&rest _)
- "Amalgamate all the changes created with `kmacro-x-mc-mode' active."
+ "Amalgamate all the edits created with `kmacro-x-mc-mode' active."
(if kmacro-x-mc-mode
(progn
(undo-boundary)
diff --git a/kmacro-x.el b/kmacro-x.el
@@ -58,7 +58,7 @@
#'kmacro-x-undo-amalgamate-advice)))
(defun kmacro-x-undo-amalgamate-advice (orig &rest args)
- "Advice the ORIG function to amalgamate all the changes into one undo.
+ "Advice the ORIG function to amalgamate all the edits into one undo.
ARGS are passed verbatim to ORIG.