Post #738849
2026-03-08 17:21 UTC
I have really been wrestling lately with my config.el file for @doomemacs
The issue seems to be that the after! macro does *not* work, and I end up with custom configurations not loading
This manifests with is my dape-configs, so when I relaunch emacs after an update (I use emacsclient) I get... no configs (until I go to config.el and C-x C-e on those blocks)
I think my hacky solution has been to just use use-package dape instead, but how is after! supposed to work?
#emacs #doomemacs
Replies (2)
-
@eh@functional.cafe 2026-03-08 17:49
@mclare@recurse.social @doomemacs@fosstodon.org It’s supposed to work just like `with-eval-after-load`. In fact it was recently deprecated in favour of using that: https://github.com/doomemacs/doomemacs/commit/6f40ad55f555f6169d248d6f62f330629b5336b7
-
@offby1@wandering.shop 2026-03-08 17:54
@mclare@recurse.social @doomemacs@fosstodon.org I can’t be 100% certain of your specific setup, obviously, but in my experience the after! macro is mostly useful for tweaks of major modes, not of features that lead into major modes. If I have doubts, I just (use-package! :config) them, which is pretty consistent. From what I can tell, there’s no harm in >1 (use-package!) macro for a package.