emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/compat f475f8027b 08/27: Set compat--generate-function


From: ELPA Syncer
Subject: [elpa] externals/compat f475f8027b 08/27: Set compat--generate-function globally when loading compat-tests
Date: Sat, 5 Mar 2022 04:57:27 -0500 (EST)

branch: externals/compat
commit f475f8027b14ec95ec8b05ab4d46888785c6e9ff
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]