dbordak / telephone-line

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

Fix examples for telephone-line-defsegment #115

Closed SahilKang closed 3 years ago

SahilKang commented 4 years ago

These examples were missing the arglist to the telephone-line-defsegment macro, resulting in a Malformed arglist error being signalled:

(macroexpand-1
 (macroexpand-1
  '(telephone-line-defsegment s1 "Oh,")))

;; => (defun s1 (lambda (face) (telephone-line-raw "Oh,")))