doomemacs/lisp
Henrik Lissner 1d8c61698b
fix: "symbol's value as variable is void: \213" error (part 2)
See 6f1c0f7cc7 for part 1.

Turns out startup.elc likely exists on most Emacs installations (and,
since it's so integral to Emacs, it likely gets special treatment), so
it was a poor heuristic for this fix. Instead, a more variable target
would be calc-loaddefs.el.

On some systems, only calc-loaddefs.el.gz exists (in which case, we
should turn off the optimization). On others, calc-loaddefs.el
exists (so I'll assume it's safe to leave them on). I won't check for
calc-loaddefs.elc because it doesn't matter; calc.el explicitly
calls (load "calc-loaddefs.el") so it is never loaded.

Of course, you can sidestep the entire issue by building Emacs with
--without-compress-install, but it's not practical for users to
know/want to do that.

Amend: 6f1c0f7cc7
2022-08-08 22:19:18 +02:00
..
cli fix: "symbol's value as variable is void: \213" error (part 2) 2022-08-08 22:19:18 +02:00
lib tweak: suppress defvaralias warnings 2022-08-08 18:23:47 +02:00
doom-cli-lib.el refactor(cli): load cli libs from doom.el 2022-08-07 19:43:28 +02:00
doom-cli.el refactor(cli): load cli libs from doom.el 2022-08-07 19:43:28 +02:00
doom-editor.el merge: rewrite-docs 2022-08-03 03:27:50 +02:00
doom-keybinds.el refactor: replace doom-enlist with ensure-list 2022-08-07 19:43:13 +02:00
doom-lib.el refactor: replace doom-enlist with ensure-list 2022-08-07 19:43:13 +02:00
doom-modules.el refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00
doom-packages.el refactor: replace doom-enlist with ensure-list 2022-08-07 19:43:13 +02:00
doom-projects.el fix: use --strip-cwd-prefix only if fd >=8.3.0 2022-08-08 18:23:46 +02:00
doom-start.el feat!(cli): load project .doomrc instead of ci.el 2022-08-07 19:43:28 +02:00
doom-ui.el refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00
doom.el tweak: suppress defvaralias warnings 2022-08-08 18:23:47 +02:00
packages.el refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00