Fixes for emacs 29
Brought to you by:
wedler
Are you still maintaining template.el? I found it years ago and I'm still a happy user. So: Thank you!
After upgrading to (still unreleased) Emacs 29 (or now 30), the automatic template insertion into new files stopped working. The reason for this is that Emacs 29 finally removed find-file-not-found-hooks
as alias for find-file-not-found-functions
.
The attached patch fixes this along with a small number of other changes:
* use write-file-functions
instead of obsolete write-file-hooks
* use cl-lib
instead of obsolete cl
* remove some flycheck warnings regarding undefined variables/functions
The change will probably not be XEmacs compatible (not sure if that is still needed).
Hi,
Many thanks for your patch, Kai. I confirm this is needed for Emacs 29. I hope Christoph is doing well.
Regards, take care everyone.