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

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

[nongnu] elpa/telephone-line 41edbc236a 053/195: Not sure why I memoized


From: ELPA Syncer
Subject: [nongnu] elpa/telephone-line 41edbc236a 053/195: Not sure why I memoized this in the first place?
Date: Wed, 5 Jan 2022 02:59:23 -0500 (EST)

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

    Not sure why I memoized this in the first place?
    
    That only makes it less efficient...
---
 telephone-line-separators.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/telephone-line-separators.el b/telephone-line-separators.el
index a1599b1a24..ddada6b970 100644
--- a/telephone-line-separators.el
+++ b/telephone-line-separators.el
@@ -22,12 +22,11 @@
 
 ;;; Code:
 
-(require 'memoize)
 (require 'color)
 (require 'telephone-line-utils)
 
 (defun telephone-line-row-pattern-fixed-gradient (_ width)
-  "Create a gradient bytestring of WIDTH."
+  "Create a gradient bytestring of WIDTH.  _ is disregarded."
   (mapcar (lambda (num)
             (/ num (float width)))
           (number-sequence 1 width)))
@@ -66,7 +65,8 @@
 (telephone-line-defseparator telephone-line-gradient
   #'identity #'telephone-line-row-pattern-fixed-gradient)
 
-(defmemoize telephone-line-nil (color1 color2)
+(defun telephone-line-nil (color1 color2)
+  "The nil separator.  COLOR1 and COLOR2 are disregarded."
   nil)
 
 (provide 'telephone-line-separators)



reply via email to

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