Add modeline layout to format function docstring
This commit is contained in:
parent
33ad8ba4a4
commit
904c997e9f
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ Example:
|
||||||
(rhs-forms (doom--prepare-modeline-segments rhs)))
|
(rhs-forms (doom--prepare-modeline-segments rhs)))
|
||||||
`(progn
|
`(progn
|
||||||
(defun ,sym ()
|
(defun ,sym ()
|
||||||
|
,(concat "Modeline:\n" (format " %s\n %s" lhs rhs))
|
||||||
(let ((lhs (list ,@lhs-forms))
|
(let ((lhs (list ,@lhs-forms))
|
||||||
(rhs (list ,@rhs-forms)))
|
(rhs (list ,@rhs-forms)))
|
||||||
(let ((rhs-str (format-mode-line rhs)))
|
(let ((rhs-str (format-mode-line rhs)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue