Minor, general refactor & comment revision

This commit is contained in:
Henrik Lissner 2019-06-14 11:08:59 +02:00
parent 33ae889e39
commit 84fd744e3f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 10 additions and 13 deletions

View file

@ -174,7 +174,7 @@ markdown and copies it to your clipboard, ready to be pasted into bug reports!"
((suspend-emacs
(format "%s %s -nw; fg"
(shell-quote-argument (restart-emacs--get-emacs-binary))
(string-join (mapcar #'shell-quote-argument args) " ")))))
(mapconcat #'shell-quote-argument args " ")))))
(error
(delete-file file)
(signal (car e) (cdr e)))))))

View file

@ -222,7 +222,7 @@ even if it doesn't need reloading!"
(member-p
(push sexp forms)))))
(if forms
(concat (string-join (mapcar #'prin1-to-string (reverse forms)) "\n")
(concat (mapconcat #'prin1-to-string (reverse forms) "\n")
"\n")
""))))))

View file

@ -101,8 +101,7 @@ order of `doom-env-switches' determines priority."
"#\n"
"# It is NOT safe to edit this file. Changes will be overwritten next time\n"
"# that `doom env refresh` is executed. Alternatively, create your own env file\n"
"# in your DOOMDIR and load it with \n"
"# `(doom-load-env-vars (expand-file-name FILE doom-private-dir))`.\n"
"# and load it with `(doom-load-env-vars FILE)`.\n"
"#\n"
"# To auto-regenerate this file when `doom reload` is run, use `doom env auto'\n"
"# or set DOOMENV=1 in your shell environment/config.\n"