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

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

[nongnu] elpa/evil-numbers adda2cc221 083/145: Cleanup: use private func


From: ELPA Syncer
Subject: [nongnu] elpa/evil-numbers adda2cc221 083/145: Cleanup: use private function name
Date: Thu, 6 Jan 2022 03:00:21 -0500 (EST)

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

    Cleanup: use private function name
---
 evil-numbers.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/evil-numbers.el b/evil-numbers.el
index e9681bf4d5..48f13e717c 100644
--- a/evil-numbers.el
+++ b/evil-numbers.el
@@ -452,12 +452,12 @@ replace number incremented by INC in BASE and return 
non-nil."
 (defun evil-numbers--format (num width base)
   "Format NUM with at least WIDTH space in BASE."
   (cond
-   ((= base 2) (evil-numbers-format-binary num width))
+   ((= base 2) (evil-numbers--format-binary num width))
    ((= base 8) (format (format "%%0%do" width) num))
    ((= base 16) (format (format "%%0%dX" width) num))
    (t "")))
 
-(defun evil-numbers-format-binary (number &optional width fillchar)
+(defun evil-numbers--format-binary (number &optional width fillchar)
   "Format NUMBER as binary.
 Fill up to WIDTH with FILLCHAR (defaults to ?0) if binary
 representation of NUMBER is smaller."



reply via email to

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