about summary refs log tree commit diff stats
path: root/lisp
diff options
context:
space:
mode:
authorCase Duckworth2021-04-22 10:20:25 -0500
committerCase Duckworth2021-04-22 10:20:25 -0500
commit8e49378b47157357227ac8f06c9d0a0062a4220c (patch)
treeba140dc7fc81351ff79f98b0941eae7a112a6280 /lisp
parentAlso load files in .emacs.d/lisp when running `refresh-emacs' (diff)
downloademacs-8e49378b47157357227ac8f06c9d0a0062a4220c.tar.gz
emacs-8e49378b47157357227ac8f06c9d0a0062a4220c.zip
Move lexical-binding setting into a hook
*scratch* still doesn't apply the (setq-default lexical-binding t) form, but
the advice I'd been giving `setup' broke the documentation generator function.
So I just added lexical-binding to a hook when opening an emacs-lisp-mode
buffer.

Will this bite me later?  Possibly.  But I'll deal with that then.  The worst
that could happen is that I'd write another function, `setup-test' or
something, that'd apply lexical-binding and then run `setup'.  Or I could just
set lexical-binding to t manually.  Whatever.
Diffstat (limited to 'lisp')
0 files changed, 0 insertions, 0 deletions