branch: elpa/telephone-line
commit 2fbcdb44a9dfa608c44b19e731d15438b4b03d87
Merge: eb178dda26 bc6075462f
Author: Daniel Bordak <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #115 from SahilKang/master
Fix examples for telephone-line-defsegment
---
configuration.org | 2 +-
examples.org | 22 +++++++++++-----------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/configuration.org b/configuration.org
index c1ea126e63..40499a40c6 100644
--- a/configuration.org
+++ b/configuration.org
@@ -93,7 +93,7 @@ kinda... Not well defined at the moment, but I'll try to
clear it up.
Here's an example of a static segment:
#+begin_src emacs-lisp
-(telephone-line-defsegment my-meme-segment
+(telephone-line-defsegment my-meme-segment ()
"Meme")
#+end_src
diff --git a/examples.org b/examples.org
index daca49a14c..6b113b9b74 100644
--- a/examples.org
+++ b/examples.org
@@ -124,17 +124,17 @@ maps every symbol to itself.
(accent . (telephone-line-accent-active .
telephone-line-accent-inactive))
(nil . (mode-line . mode-line-inactive))))
-(telephone-line-defsegment s1 "Oh,")
-(telephone-line-defsegment s2 "telephone")
-(telephone-line-defsegment s3 "line,")
-(telephone-line-defsegment s4 "Give")
-(telephone-line-defsegment s5 "me")
-(telephone-line-defsegment s6 "some")
-(telephone-line-defsegment s7 "time,")
-(telephone-line-defsegment s8 "I'm")
-(telephone-line-defsegment s9 "living")
-(telephone-line-defsegment s10 "in")
-(telephone-line-defsegment s11 "twilight")
+(telephone-line-defsegment s1 () "Oh,")
+(telephone-line-defsegment s2 () "telephone")
+(telephone-line-defsegment s3 () "line,")
+(telephone-line-defsegment s4 () "Give")
+(telephone-line-defsegment s5 () "me")
+(telephone-line-defsegment s6 () "some")
+(telephone-line-defsegment s7 () "time,")
+(telephone-line-defsegment s8 () "I'm")
+(telephone-line-defsegment s9 () "living")
+(telephone-line-defsegment s10 () "in")
+(telephone-line-defsegment s11 () "twilight")
(setq telephone-line-lhs
'((red . (s1))