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

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

[nongnu] elpa/telephone-line 5500d470b1 126/195: Update readme with ment


From: ELPA Syncer
Subject: [nongnu] elpa/telephone-line 5500d470b1 126/195: Update readme with mention of flat separator. Also forgot nil renderer.
Date: Wed, 5 Jan 2022 02:59:37 -0500 (EST)

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

    Update readme with mention of flat separator. Also forgot nil renderer.
---
 readme.org              | 3 +++
 telephone-line-utils.el | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/readme.org b/readme.org
index c5cf4a7692..ad956e3c0f 100644
--- a/readme.org
+++ b/readme.org
@@ -90,6 +90,9 @@ gradient
 
 [[./screenshots/separators/telephone-line-gradient.png]]
 
+There is also a perfectly flat vertical separator,
+`telephone-line-flat`, though there's not much to look at here ;)
+
 * Configuration
 
 First, remember that all configuration must be done *before* calling
diff --git a/telephone-line-utils.el b/telephone-line-utils.el
index 22f16d8b2b..ca57b807b0 100644
--- a/telephone-line-utils.el
+++ b/telephone-line-utils.el
@@ -227,6 +227,9 @@ If it doesn't exist, create and cache it."
         (telephone-line-separator-render-image obj fg-color bg-color)
       (telephone-line-separator-render-unicode obj fg-color bg-color))))
 
+(cl-defmethod telephone-line-separator-render ((obj 
telephone-line-nil-separator) foreground background)
+  nil)
+
 (cl-defmethod telephone-line-separator-clear-cache ((obj 
telephone-line-separator))
   (clrhash (oref obj image-cache)))
 



reply via email to

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