Improve code formatting

This commit is contained in:
Gerard Vermeulen 2022-09-20 20:02:54 +02:00
parent 06651fd2b2
commit 1ba80f8935

View File

@ -1668,7 +1668,8 @@ in listing [[lst:configure-auctex]] corrects this by advising to override
(cl-destructuring-bind (exit-code output)
(shell-command-with-exit-code
"luaotfload-tool" "-vv" "--update" "--force")
(if (= 0 exit-code) (message "%s" (string-trim output))
(if (= 0 exit-code)
(message "%s" (string-trim output))
(error "%s" (string-trim output))))))
#+end_src
@ -1800,8 +1801,10 @@ buffers with help of an external [[https://nodejs.org][node.js]] program.
(make-directory "~/node_modules"))
(cl-destructuring-bind (exit-code output)
(shell-command-with-exit-code
"npm" "install" "git+https://gitlab.com/matsievskiysv/math-preview.git")
(if (= 0 exit-code) (message "%s" (string-trim output))
"npm" "install"
"git+https://gitlab.com/matsievskiysv/math-preview.git")
(if (= 0 exit-code)
(message "%s" (string-trim output))
(error "%s" (string-trim output))))))))
#+end_src