branch: elpa/telephone-line
commit 5500d470b1e08188539ecfb066ceaa38ad4b5626
Author: Daniel Bordak <[email protected]>
Commit: Daniel Bordak <[email protected]>

    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