kmacro-x

a fork of vifon's kmacro-x
git clone https://git.trogloxene.org/kmacro-x.git
Log | Files | Refs | README | LICENSE

commit ec708ac9a8a340a33460221dd5cb0a018f128b82
parent 7da5e37f8c2f7b02858e132929cb970027729702
Author: Wojciech Siewierski <wojciech@siewierski.eu>
Date:   Mon, 24 Apr 2023 17:31:52 +0200

Fill in the missing docstring elements to appease checkdoc

Diffstat:
Mkmacro-x-mc-extra.el | 6+++++-
Mkmacro-x-mc.el | 5++++-
2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/kmacro-x-mc-extra.el b/kmacro-x-mc-extra.el @@ -37,6 +37,8 @@ (defun kmacro-x-mc-mark-at-click (event) "Toggle the fake cursor at the mouse position. +EVENT is the mouse click event. + Some code borrowed from `mc/toggle-cursor-on-click'." (interactive "e") (mouse-minibuffer-check event) @@ -62,7 +64,9 @@ Some code borrowed from `mc/toggle-cursor-on-click'." ;;;###autoload (defun kmacro-x-mc-mark-next-or-rect () - "Like `kmacro-x-mc-mark-next' but fall back to + "A smart version of `kmacro-x-mc-mark-next' with a fallback. + +Acts just like `kmacro-x-mc-mark-next' but falls back to `rectangle-mark-mode' when there is no selection." (interactive) (require 'rect) diff --git a/kmacro-x-mc.el b/kmacro-x-mc.el @@ -99,7 +99,10 @@ all times without searching through this list.") (defun kmacro-x-mc--modification-hook-live-preview (ov after-p _beg _end &optional _length) - "Overlay modification-hook updating all the other overlays." + "Overlay modification-hook updating all the other overlays. + +OV and AFTER-P (and other ignored arguments) are passed according +to the modification-hook overlay API." (when after-p (dolist (cursor kmacro-x-mc-cursors) (unless (kmacro-x-mc--main-cursor-p cursor)