mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-05-10 22:09:43 -07:00
fix(cli): doomscript: supppress lexical-binding warnings
Amend: def4579a9f
This commit is contained in:
parent
c766714546
commit
534b640350
1 changed files with 6 additions and 0 deletions
|
|
@ -41,6 +41,12 @@ esac
|
|||
# (like Snap or NixOS).
|
||||
emacs="$EMACS -q --no-site-file --batch"
|
||||
|
||||
# Emacs complains about missing lexical-binding settings in elisp files, but
|
||||
# this warning is unhelpful to end users, polluting the output of any shell
|
||||
# script derived from this script, so silence it (it's not enough to set it *in*
|
||||
# lisp/doom.el, unfortunately).
|
||||
emacs="$emacs --eval \"(setq warning-inhibit-types '((files missing-lexbind-cookie)))\" "
|
||||
|
||||
# The emacs-plus formula on homebrew will inject redundant/extra entries into
|
||||
# $PATH, causing issues. This suppresses that behavior, and does nothing
|
||||
# everywhere else.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue