branch: elpa/telephone-line
commit eb178dda2606ded250028ec6f7ddfca3ea10d6a0
Merge: 110c578ccf deda33317b
Author: Daniel Bordak <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #116 from fdeitylink/patch-1
    
    Fixed parentheses in atom-eol-segment
---
 telephone-line-segments.el | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/telephone-line-segments.el b/telephone-line-segments.el
index d667cd5335..3da5a248e1 100644
--- a/telephone-line-segments.el
+++ b/telephone-line-segments.el
@@ -67,9 +67,9 @@ Set HIDE-LF to display nothing for unix endings, as it can be 
an assumed default
 Adapted from doom-modeline."
   (pcase (coding-system-eol-type buffer-file-coding-system)
     (0 (if hide-lf nil
-         "LF")
-       (1 "CRLF")
-       (2 "CR"))))
+         "LF"))
+    (1 "CRLF")
+    (2 "CR")))
 
 (telephone-line-defsegment* telephone-line-atom-encoding-segment (&optional 
hide-utf8)
   "Displays the encoding of the buffer the same way Atom does.
@@ -96,8 +96,7 @@ Adapted from doom-modeline."
 ;; For a file like /a/b/c/file.txt, this should display
 ;; file.txt
 (telephone-line-defsegment telephone-line-buffer-name-segment ()
-  mode-line-buffer-identification
-  )
+  mode-line-buffer-identification)
 
 ;; For a file like /a/b/c/file.txt, this should display
 ;; /a/b/c/file.txt

Reply via email to