branch: externals/compat
commit 46bf15ac5a7afe242bc615c0cfad65dd41e06535
Author: Philip Kaludercic <phil...@posteo.net>
Commit: Philip Kaludercic <phil...@posteo.net>

    Always load compat-NM.el files when the generate-function is changed
---
 compat.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compat.el b/compat.el
index a92102d29b..553dab7f5c 100644
--- a/compat.el
+++ b/compat.el
@@ -49,7 +49,8 @@
   (defvar compat--generate-function)
   (defmacro compat-insert (version)
     (cond
-     ((bound-and-true-p compat-testing)
+     ((or (not (eq compat--generate-function 'compat--generate-minimal))
+          (bound-and-true-p compat-testing))
       `(load ,(format "compat-%s.el" version)))
      ;; ((version<= version emacs-version)
      ;;  ;; We don't need to do anything.

Reply via email to