Refactor interactiove bin/doom commands #1220
This commit is contained in:
parent
bb9cbfecc9
commit
ca9a2c8c17
2 changed files with 14 additions and 19 deletions
|
@ -87,8 +87,5 @@ Can be colored using (color ...) blocks:
|
|||
(print! (green \"Great %s!\") \"success\")
|
||||
|
||||
Uses faces in interactive sessions and ANSI codes otherwise."
|
||||
`(if (not noninteractive)
|
||||
(message (format! ,message ,@args))
|
||||
;; princ prints to stdout, message to stderr
|
||||
(princ (format! ,message ,@args))
|
||||
(terpri)))
|
||||
`(progn (princ (format! ,message ,@args))
|
||||
(terpri)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue