[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/telephone-line d486eb3398 055/195: More indentation fixes
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/telephone-line d486eb3398 055/195: More indentation fixes |
Date: |
Wed, 5 Jan 2022 02:59:24 -0500 (EST) |
branch: elpa/telephone-line
commit d486eb33985380908a91f44cbec12300faa8a213
Author: Daniel Bordak <dbordak@fastmail.fm>
Commit: Daniel Bordak <dbordak@fastmail.fm>
More indentation fixes
---
telephone-line-segments.el | 16 +++++++---------
telephone-line-utils.el | 4 ++--
2 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/telephone-line-segments.el b/telephone-line-segments.el
index f7dff06d84..0b132d60e1 100644
--- a/telephone-line-segments.el
+++ b/telephone-line-segments.el
@@ -24,6 +24,8 @@
(require 'telephone-line-utils)
+(require 's)
+
(telephone-line-defsegment telephone-line-vc-segment
vc-mode)
@@ -85,17 +87,13 @@ mouse-3: Toggle minor modes"
(eval-after-load 'evil
'(telephone-line-defsegment* telephone-line-evil-tag-segment
- (let ((tag
- (if (evil-visual-state-p)
- (cond
+ (let ((tag (cond
+ ((not (evil-visual-state-p)) (upcase (symbol-name
evil-state)))
((eq evil-visual-selection 'block)
- (if telephone-line-evil-use-short-tag "VB"
- "V-BLOCK"))
+ (if telephone-line-evil-use-short-tag "VB" "V-BLOCK"))
((eq evil-visual-selection 'line)
- (if telephone-line-evil-use-short-tag "VL"
- "V-LINE"))
- (t "VISUAL"))
- (upcase (symbol-name evil-state)))))
+ (if telephone-line-evil-use-short-tag "VL" "V-LINE"))
+ (t "VISUAL"))))
(if telephone-line-evil-use-short-tag
(s-left 2 tag)
tag))))
diff --git a/telephone-line-utils.el b/telephone-line-utils.el
index 573becafb7..9a2457f6dd 100644
--- a/telephone-line-utils.el
+++ b/telephone-line-utils.el
@@ -230,8 +230,8 @@ Segment is not precompiled."
`(defun ,name (face)
(telephone-line-raw
(mapcar (lambda (plist)
- (plist-put plist 'face face))
- ,plists))))
+ (plist-put plist 'face face))
+ ,plists))))
:autoload
(defun telephone-line-raw (str &optional compiled)
- [nongnu] elpa/telephone-line 1dc10acfc4 175/195: Apparently this is the only hook that's needed now?, (continued)
- [nongnu] elpa/telephone-line 1dc10acfc4 175/195: Apparently this is the only hook that's needed now?, ELPA Syncer, 2022/01/05
- [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 <=
- [nongnu] elpa/telephone-line dd5a939edd 035/195: Fix error in erc segment when erc is not loaded, ELPA Syncer, 2022/01/05
- [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