emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil-numbers ef72a4fea1 135/145: Cleanup: correct doc-stri


From: ELPA Syncer
Subject: [nongnu] elpa/evil-numbers ef72a4fea1 135/145: Cleanup: correct doc-strings
Date: Thu, 6 Jan 2022 03:00:25 -0500 (EST)

branch: elpa/evil-numbers
commit ef72a4fea19ad6c2010fb8141b4dd900743fd263
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Cleanup: correct doc-strings
---
 evil-numbers.el | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/evil-numbers.el b/evil-numbers.el
index 9a173bf91a..afdd2513a7 100644
--- a/evil-numbers.el
+++ b/evil-numbers.el
@@ -394,8 +394,9 @@ SIGN-GROUP is the match group used for the sign ('-' or 
'+').
 
 When PADDED is non-nil,
 the number keeps it's current width (with leading zeroes).
-When DO-NUM-AFTER-CURSOR is non-nil,
-Don't include numbers directly before the cursor (VIM's default behavior).
+
+When RANGE-CHECK-FN is non-nil, it's called with the match beginning & end.
+A non nil result causes this function to return nil.
 
 When all characters are found in sequence, evaluate the number in BASE,
 replacing it by the result of NUMBER-XFORM-FN and return non-nil."
@@ -473,6 +474,9 @@ replacing it by the result of NUMBER-XFORM-FN and return 
non-nil."
 
 Keep padding when PADDED is non-nil.
 
+See `evil-numbers--inc-at-pt-impl-with-match-chars' for details on
+RANGE-CHECK-FN and NUMBER-XFORM-FN.
+
 Return non-nil on success, leaving the point at the end of the number."
   (or
    ;; Find binary literals:
@@ -527,6 +531,9 @@ Return non-nil on success, leaving the point at the end of 
the number."
 
 Keep padding when PADDED is non-nil.
 
+See `evil-numbers--inc-at-pt-impl-with-match-chars' for details on
+RANGE-CHECK-FN.
+
 Return non-nil on success, leaving the point at the end of the number."
   (let ((found nil))
     (save-match-data



reply via email to

[Prev in Thread] Current Thread [Next in Thread]