mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Update documentation of doom-version-parser--get.
This commit is contained in:
parent
afd9c62fcb
commit
43a1355c3a
1 changed files with 6 additions and 6 deletions
|
@ -79,12 +79,12 @@
|
||||||
"Start a sub process using PROG and apply the ARGS to the sub process.
|
"Start a sub process using PROG and apply the ARGS to the sub process.
|
||||||
Once it recieves information from STDOUT, it closes off the subprocess and
|
Once it recieves information from STDOUT, it closes off the subprocess and
|
||||||
passes on the information into the CALLBACK.
|
passes on the information into the CALLBACK.
|
||||||
Example:
|
Example:
|
||||||
(doom-version-parser--get
|
(doom-version-parser--get
|
||||||
\"ruby\"
|
\"ruby\"
|
||||||
'(\"version\")
|
'(\"version\")
|
||||||
(lambda (line)
|
(lambda (line)
|
||||||
(message (doom-modeline-parser--ruby line)))"
|
(message (doom-modeline-parser--ruby line)))"
|
||||||
(let ((proc (apply 'start-process
|
(let ((proc (apply 'start-process
|
||||||
(append ;; Flaten process-args into a single list so we can handle variadic length args
|
(append ;; Flaten process-args into a single list so we can handle variadic length args
|
||||||
(list "doom-modeline-prog" "doom-modeline-prog" prog)
|
(list "doom-modeline-prog" "doom-modeline-prog" prog)
|
||||||
|
|
Loading…
Reference in a new issue