aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/magit-popup.el1
-rw-r--r--lisp/with-editor.el1
2 files changed, 2 insertions, 0 deletions
diff --git a/lisp/magit-popup.el b/lisp/magit-popup.el
index fd59d79..f2982d9 100644
--- a/lisp/magit-popup.el
+++ b/lisp/magit-popup.el
@@ -54,6 +54,7 @@
(require 'format-spec)
(and (require 'async-bytecomp nil t)
+ (memq 'magit (bound-and-true-p async-bytecomp-allowed-packages))
(fboundp 'async-bytecomp-package-mode)
(async-bytecomp-package-mode 1))
diff --git a/lisp/with-editor.el b/lisp/with-editor.el
index 320ca9a..5354cd3 100644
--- a/lisp/with-editor.el
+++ b/lisp/with-editor.el
@@ -85,6 +85,7 @@
(require 'tramp-sh nil t)
(and (require 'async-bytecomp nil t)
+ (memq 'magit (bound-and-true-p async-bytecomp-allowed-packages))
(fboundp 'async-bytecomp-package-mode)
(async-bytecomp-package-mode 1))