[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)
- [nongnu] elpa/telephone-line 1c154b7fd0 154/195: Inherit error face in telephone-line-error face., (continued)
- [nongnu] elpa/telephone-line 1c154b7fd0 154/195: Inherit error face in telephone-line-error face., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line a9d89b876d 157/195: Fix for symlinks, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 401a9c6ad6 159/195: Merge pull request #81 from ogdenwebb/fix-projectile-buffer-segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line fb62b73c9f 164/195: Add docstring for HUD axis func, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 0e6fbc2a23 165/195: Merge branch 'master' into master, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 1025d435af 169/195: Removed duplicate segment, renamed absolute-path segment for clarity, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 3a6c433348 173/195: Add support for irc clients that use tracking mode, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line bf35654a67 011/195: Merge pull request #7 from syohex/cl-lib, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 835179cc9b 060/195: Put segment stuff back in the correct place, further refactor for the new separators, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line ba6a56e027 018/195: Minor mode, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 41edbc236a 053/195: Not sure why I memoized this in the first place?,
ELPA Syncer <=
- [nongnu] elpa/telephone-line 7a6ac904b3 059/195: Further consolidate old stuff into new stuff, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 426a598c4a 056/195: Start work on memoize replacement, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line c73b2c210d 027/195: Fix face definitions, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 5c0af25f19 073/195: Explain config ordering, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 74cd7ea3ee 082/195: Fix telephone-line-nil, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line b2439795a4 078/195: Improve default colors., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 07858899cc 052/195: Readme update, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line bfd9c8b431 067/195: New string trimmer fixes appearance of paradox line number segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 778d435ad2 109/195: Fix support for Emacs<25, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 36a6583157 156/195: Add a bunch of docstrings to segments, ELPA Syncer, 2022/01/05