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

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

[nongnu] elpa/telephone-line 1705f029c7 009/195: Better conform to exist


From: ELPA Syncer
Subject: [nongnu] elpa/telephone-line 1705f029c7 009/195: Better conform to existing standards
Date: Wed, 5 Jan 2022 02:59:15 -0500 (EST)

branch: elpa/telephone-line
commit 1705f029c78298b8bee91ba92b4b70f86509ba58
Author: Daniel Bordak <dbordak@fastmail.fm>
Commit: Daniel Bordak <dbordak@fastmail.fm>

    Better conform to existing standards
---
 telephone-line-separators.el | 4 ++--
 telephone-line-utils.el      | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/telephone-line-separators.el b/telephone-line-separators.el
index f2c2cb3886..6c2e507626 100644
--- a/telephone-line-separators.el
+++ b/telephone-line-separators.el
@@ -56,11 +56,11 @@
 (telephone-line-defseparator telephone-line-abs-right
   #'abs #'telephone-line-row-pattern)
 (telephone-line-defseparator telephone-line-abs-left
-  (telephone-line-negate-func abs) #'telephone-line-row-pattern)
+  (telephone-line-complement abs) #'telephone-line-row-pattern)
 (telephone-line-defsubseparator telephone-line-abs-hollow-right
   #'abs #'telephone-line-row-pattern-hollow)
 (telephone-line-defsubseparator telephone-line-abs-hollow-left
-  (telephone-line-negate-func abs) #'telephone-line-row-pattern-hollow)
+  (telephone-line-complement abs) #'telephone-line-row-pattern-hollow)
 (telephone-line-defseparator telephone-line-cubed-right
   (lambda (x) (expt x 3)) #'telephone-line-row-pattern)
 (telephone-line-defseparator telephone-line-cubed-left
diff --git a/telephone-line-utils.el b/telephone-line-utils.el
index c4ace55cd9..3fb7d8d4e5 100644
--- a/telephone-line-utils.el
+++ b/telephone-line-utils.el
@@ -130,7 +130,7 @@ color1 and color2."
                        (* x scaling-factor) width))
             normalized-axis)))
 
-(defmacro negate-func (func)
+(defmacro complement (func)
   `(lambda (x)
      (- (,func x))))
 



reply via email to

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