dbordak / telephone-line

A new implementation of Powerline for Emacs
GNU General Public License v3.0
550 stars 51 forks source link

The sample command telephone-line-defsegment does not seem to work #52

Closed ahungry closed 6 years ago

ahungry commented 6 years ago

Given that I attempt to define:

(telephone-line-defsegment my-test "test")

returns:

"Invalid lambda variable (face)"

dbordak commented 6 years ago

That error can't happen at the define, but where it's called. How are you inserting this segment?

ahungry commented 6 years ago

You're right, I forgot the surrounding face stuff and attempted to add it under one of the existing face blocks. Thanks for an awesome package btw!