[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/telephone-line 68746c0d63 125/195: Rename telephone-line-n
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/telephone-line 68746c0d63 125/195: Rename telephone-line-nil to telephone-line-flat; include true nil separator. |
Date: |
Wed, 5 Jan 2022 02:59:37 -0500 (EST) |
branch: elpa/telephone-line
commit 68746c0d63815fbf9489751f1225ba1c935ef052
Author: Daniel Bordak <dbordak@fastmail.fm>
Commit: Daniel Bordak <dbordak@fastmail.fm>
Rename telephone-line-nil to telephone-line-flat; include true nil
separator.
---
telephone-line-separators.el | 8 +++++---
telephone-line-utils.el | 2 ++
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/telephone-line-separators.el b/telephone-line-separators.el
index 65a21bbecf..0094d12193 100644
--- a/telephone-line-separators.el
+++ b/telephone-line-separators.el
@@ -25,15 +25,15 @@
(require 'color)
(require 'telephone-line-utils)
-(defun telephone-line-row-pattern-nil (_ width)
+(defun telephone-line-row-pattern-solid-block (_ width)
"Create a block of 1s of WIDTH. _ is disregarded."
(make-list width 1))
-(defvar telephone-line-nil
+(defvar telephone-line-flat
(make-instance 'telephone-line-separator
:axis-func #'identity
:forced-width 1
- :pattern-func #'telephone-line-row-pattern-nil))
+ :pattern-func #'telephone-line-row-pattern-solid-block))
(defun telephone-line-row-pattern-fixed-gradient (_ width)
"Create a gradient bytestring of WIDTH. _ is disregarded."
@@ -130,6 +130,8 @@
(defvar telephone-line-identity-hollow-left
(make-instance 'telephone-line-subseparator :axis-func #'-))
+(defvar telephone-line-nil
+ (make-instance 'telephone-line-nil-separator))
(provide 'telephone-line-separators)
;;; telephone-line-separators.el ends here
diff --git a/telephone-line-utils.el b/telephone-line-utils.el
index 7301879c81..22f16d8b2b 100644
--- a/telephone-line-utils.el
+++ b/telephone-line-utils.el
@@ -160,6 +160,8 @@ color1 and color2."
((pattern-func :initarg :pattern-func
:initform #'telephone-line-row-pattern-hollow)))
+(defclass telephone-line-nil-separator (telephone-line-separator) ())
+
(cl-defmethod telephone-line-separator-create-body ((obj
telephone-line-separator))
"Create a bytestring of a PBM image body of dimensions WIDTH and HEIGHT, and
shape created from AXIS-FUNC and PATTERN-FUNC."
(let* ((height (telephone-line-separator-height obj))
- [nongnu] elpa/telephone-line abbeb654fb 095/195: Missed these from a while ago, (continued)
- [nongnu] elpa/telephone-line abbeb654fb 095/195: Missed these from a while ago, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line a83dcda21b 096/195: Autoload the premade config, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 9822d32b2b 084/195: Update screenshots more, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line f1f017607f 094/195: Fill now uses first right-hand segment for color, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 2162bdf9a3 098/195: Fix issue with airline position, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 23195b81b4 112/195: Add support for subsegment modifiers; add :active modifier, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 40cd97a791 097/195: Bump version number, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line d594052b42 091/195: Add easy evil setup, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 5500d470b1 126/195: Update readme with mention of flat separator. Also forgot nil renderer., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 9e3502e7b5 085/195: Change default config to use airline position, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 68746c0d63 125/195: Rename telephone-line-nil to telephone-line-flat; include true nil separator.,
ELPA Syncer <=
- [nongnu] elpa/telephone-line 14d2abdbe0 139/195: Merge branch 'master' into master, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 220a1a4a89 141/195: Update defaults + unify config, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 92a5cc6bb9 136/195: Added segments for window number and projectile., ELPA Syncer, 2022/01/05
- [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