From 43a1355c3adb6bef6884f06dba545e2c9a949544 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Sun, 13 Jan 2019 23:32:30 +0800 Subject: [PATCH] Update documentation of doom-version-parser--get. --- doom-version-parser.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doom-version-parser.el b/doom-version-parser.el index ec1c811..9b254a8 100644 --- a/doom-version-parser.el +++ b/doom-version-parser.el @@ -79,12 +79,12 @@ "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 passes on the information into the CALLBACK. - Example: - (doom-version-parser--get - \"ruby\" - '(\"version\") - (lambda (line) - (message (doom-modeline-parser--ruby line)))" +Example: + (doom-version-parser--get + \"ruby\" + '(\"version\") + (lambda (line) + (message (doom-modeline-parser--ruby line)))" (let ((proc (apply 'start-process (append ;; Flaten process-args into a single list so we can handle variadic length args (list "doom-modeline-prog" "doom-modeline-prog" prog)