branch: elpa/evil-numbers commit 743e60549c1efea562e3fc8d6cd713e2ce7653b3 Author: Campbell Barton <ideasma...@gmail.com> Commit: Campbell Barton <ideasma...@gmail.com>
Cleanup: replace point-at-bol/eol with pos-bol/eol Quiet deprecation warning. --- evil-numbers.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/evil-numbers.el b/evil-numbers.el index 8e609197a6..2d1d396c0f 100644 --- a/evil-numbers.el +++ b/evil-numbers.el @@ -627,8 +627,8 @@ Return non-nil on success, leaving the point at the end of the number." ;; The caller may use a range that spans lines to ;; allow searching and finding items across ;; multiple lines (currently used for selection). - (max beg (point-at-bol)) - (min end (point-at-eol)) + (max beg (pos-bol)) + (min end (pos-eol)) padded range-check-fn (lambda (n) (+ n amount))) @@ -711,7 +711,7 @@ negative number to a positive will result in a number with a + sign." (let ((point-next (save-excursion (when (evil-numbers--inc-at-pt-impl-with-search - amount (point-at-bol) (point-at-eol) padded + amount (pos-bol) (pos-eol) padded ;; Optional range checking function, only needed when ;; `evil-numbers-use-cursor-at-end-of-number' is not nil. (cond