branch: externals/compat commit f475f8027b14ec95ec8b05ab4d46888785c6e9ff Author: Philip Kaludercic <phil...@posteo.net> Commit: Philip Kaludercic <phil...@posteo.net>
Set compat--generate-function globally when loading compat-tests This will ensure that if any macro is re-evaluated after compat-tests has been loaded, that the debugging info will remain. --- compat-tests.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compat-tests.el b/compat-tests.el index bc3de13c4d..939e041e52 100644 --- a/compat-tests.el +++ b/compat-tests.el @@ -40,8 +40,8 @@ (require 'compat-macs) (defvar compat-testing) -(let ((compat--generate-function #'compat--generate-verbose) - (compat-testing t)) +(setq compat--generate-function #'compat--generate-verbose) +(let ((compat-testing t)) (load "compat.el")) (defvar compat--current-fn nil)