fix: void-variable arg error from doom/reload
Some leftover code from the doom/reload-env, which was removed inc2c6a6411
. Refc2c6a64118
Fix #5344
This commit is contained in:
parent
abc16ef68c
commit
24866a17ee
1 changed files with 2 additions and 2 deletions
|
@ -83,12 +83,12 @@ Runs `doom-after-reload-hook' afterwards."
|
|||
(message "Can't regenerate envvar file from within Emacs in Windows. Skipping...")
|
||||
(let (process-environment)
|
||||
(doom--if-compile
|
||||
(format "%s -ic '%S env%s'"
|
||||
(format "%s -ic '%S env'"
|
||||
(string-trim
|
||||
(shell-command-to-string
|
||||
(format "getent passwd %S | cut -d: -f7"
|
||||
(user-login-name))))
|
||||
doom-bin (if arg " -c" ""))
|
||||
doom-bin)
|
||||
(message "Successfully regenerated envvar file")
|
||||
(error "Failed to generate env file")))))
|
||||
(doom-initialize 'force)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue