[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/telephone-line bc6075462f 185/195: Fix examples for teleph
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/telephone-line bc6075462f 185/195: Fix examples for telephone-line-defsegment |
Date: |
Wed, 5 Jan 2022 03:00:04 -0500 (EST) |
branch: elpa/telephone-line
commit bc6075462fa7a72341d036bc4b6fe32c5b668b0b
Author: Sahil Kang <sahil.kang@asilaycomputing.com>
Commit: Sahil Kang <sahil.kang@asilaycomputing.com>
Fix examples for telephone-line-defsegment
These examples were missing the arglist to the
`telephone-line-defsegment` macro, resulting in a `Malformed arglist`
error being signalled:
```lisp
(macroexpand-1
(macroexpand-1
'(telephone-line-defsegment s1 "Oh,")))
;; => (defun s1 (lambda (face) (telephone-line-raw "Oh,")))
```
---
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))
- [nongnu] elpa/telephone-line 0d23081c68 148/195: Add a couple faces for segments, (continued)
- [nongnu] elpa/telephone-line 0d23081c68 148/195: Add a couple faces for segments, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 8372f7d37c 133/195: Add centered segment support, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 2fd44a2811 144/195: Add hud segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line e0eeb057ca 160/195: Actually check if the projectile stuff will work, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 305b5dbfec 163/195: Added minions-mode-segment, compatible with https://github.com/tarsius/minions., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 74068cd04a 167/195: Added segments "plain" buffer name and modified-state-only. (#93), ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 17901f3911 170/195: Merge pull request #96 from MikeTheGreat/filename_segments, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 81ec9e3137 171/195: Respect 0/1-indexing setting, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 706cedb353 174/195: Merge pull request #109 from endoffile78/circe, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line c0363af166 176/195: Add height to the hash key to automatically handle font size changes, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line bc6075462f 185/195: Fix examples for telephone-line-defsegment,
ELPA Syncer <=
- [nongnu] elpa/telephone-line baf17f6f1c 186/195: Fixed parentheses in atom-eol-segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 2fbcdb44a9 189/195: Merge pull request #115 from SahilKang/master, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line ff5fcb2181 192/195: Merge pull request #120 from gagbo/patch-3, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line d70907577b 022/195: More formatting., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 97f1935336 005/195: Namespace utils, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 44ca430fe1 062/195: Corrected types for custom vars, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 9c36180ba2 021/195: Enhanced axis documentation and new trig function, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 70c113bea3 063/195: Version Bump, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 797f257642 183/195: Wrap the segment in bound-and-true-p, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 1705f029c7 009/195: Better conform to existing standards, ELPA Syncer, 2022/01/05