Using Emacs Advice to use templates with org-journal
I’m not an Emacs poweruser by any means, but after using it for ~10 years I am at least aware of many of its capabilities. And yet, today I learned something new: Advice.
Advising is similar to hooks in the sense that it allows us to extend a particular function. Hooks usually get the job done, but sometimes they cannot be used because either the maintainer just didn’t add them to their mode, or because they don’t run in the place you need them.