[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/telephone-line dd5a939edd 035/195: Fix error in erc segmen
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/telephone-line dd5a939edd 035/195: Fix error in erc segment when erc is not loaded |
Date: |
Wed, 5 Jan 2022 02:59:19 -0500 (EST) |
branch: elpa/telephone-line
commit dd5a939edd41c51d4860ed8076646127ed93c128
Author: Bart Bakker <bart@thesoftwarecraft.com>
Commit: Bart Bakker <bart@thesoftwarecraft.com>
Fix error in erc segment when erc is not loaded
Without package 'erc-track loaded `erc-modified-channels-object` is not
defined.
---
telephone-line-segments.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/telephone-line-segments.el b/telephone-line-segments.el
index b7b176ac1c..ebc6e71f19 100644
--- a/telephone-line-segments.el
+++ b/telephone-line-segments.el
@@ -79,8 +79,9 @@ mouse-3: Toggle minor modes"
'mouse-2 #'mode-line-widen))))
(telephone-line-defsegment* telephone-line-erc-modified-channels-segment
- (s-with erc-modified-channels-object
- s-trim (s-chop-suffix "]") (s-chop-prefix "[")))
+ (when (boundp 'erc-modified-channels-object)
+ (s-with erc-modified-channels-object
+ s-trim (s-chop-suffix "]") (s-chop-prefix "["))))
(eval-after-load 'evil
'(telephone-line-defsegment* telephone-line-evil-tag-segment
- [nongnu] elpa/telephone-line 356e7b8834 117/195: Update docstring for new axis, (continued)
- [nongnu] elpa/telephone-line 356e7b8834 117/195: Update docstring for new axis, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line cdbe1a6be5 140/195: Merge pull request #62 from anandpiyer/master, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 3e73a0ed24 135/195: Add :args and :truncate segment modifiers, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line c17c71ae18 132/195: Add missing methods to telephone-line-unicode-separator, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 4885ebe7ae 130/195: Separate unicode separators out into their own class so they can be intermixed with XPM separators, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 9dfaef65b2 020/195: Formatting, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 80b642aee1 099/195: Add simple (no mouse bind) minor/major mode segments, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 45d97b4021 127/195: Oops, that was markdown format., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 9fe198d82c 008/195: Remove autoloads carried over from names, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line d486eb3398 055/195: More indentation fixes, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line dd5a939edd 035/195: Fix error in erc segment when erc is not loaded,
ELPA Syncer <=
- [nongnu] elpa/telephone-line 5638edc4fa 032/195: Fix title typo, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line b58e3d1e43 030/195: Probably improve Unicode separators., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 54850e413d 105/195: Switch to create-trig-axis all the timeNow that the algorithm works properly, we can assume a trig axis -- no rounding errors means it'll still be clear for everything else., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line a5c7225dad 088/195: Link to examples in readme, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 0b92b759f7 102/195: Added narrow segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 4adfbf02bb 092/195: Shorten readme, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line aa746faab1 149/195: Add doomy filename segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 743614f372 128/195: Force nil's width to 0; fixes clipping issue., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 1cc28a7811 146/195: Forgot the else clause, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line dd1afefa00 152/195: Add telephone-line-error and warning faces., ELPA Syncer, 2022/01/05