[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/nadvice 184fdad 8/9: * nadvice/nadvice.el (advice): Req
From: |
Stefan Monnier |
Subject: |
[elpa] externals/nadvice 184fdad 8/9: * nadvice/nadvice.el (advice): Require during byte-compilation |
Date: |
Tue, 1 Dec 2020 16:29:05 -0500 (EST) |
branch: externals/nadvice
commit 184fdad4848c8f3438461d87ca6a8190024cfe77
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* nadvice/nadvice.el (advice): Require during byte-compilation
since ad-find-advice is defined as a macro rather than a function (sigh!).
---
nadvice.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/nadvice.el b/nadvice.el
index 447132c..58523f6 100644
--- a/nadvice.el
+++ b/nadvice.el
@@ -38,6 +38,8 @@
(declare-function ad-remove-advice "advice")
+(eval-and-compile (require 'advice))
+
(unless (fboundp 'add-function)
;; If `add-function' is defined, we're presumably running on
;; an Emacs that comes with the real nadvice.el, so let's be careful
- [elpa] branch externals/nadvice created (now 2114e1c), Stefan Monnier, 2020/12/01
- [elpa] externals/nadvice cc671ee 4/9: * nadvice.el: Fix typo, Stefan Monnier, 2020/12/01
- [elpa] externals/nadvice 6d4e090 6/9: packages/nadvice: Fix advice-remove behaviour, Stefan Monnier, 2020/12/01
- [elpa] externals/nadvice 2114e1c 9/9: * .gitignore: New file, Stefan Monnier, 2020/12/01
- [elpa] externals/nadvice 2b0e882 1/9: * nadvice: New forward compatibility package, Stefan Monnier, 2020/12/01
- [elpa] externals/nadvice 7233212 2/9: * nadvice.el: Fix copyright!, Stefan Monnier, 2020/12/01
- [elpa] externals/nadvice bc27bdd 3/9: * nadvice/nadvice.el (advice-add): Add support for :override, Stefan Monnier, 2020/12/01
- [elpa] externals/nadvice 040b27d 5/9: * nadvice.el: ad-remove-advice is not autoloaded, Stefan Monnier, 2020/12/01
- [elpa] externals/nadvice 1bfa920 7/9: * nadvice/nadvice.el: Silence fewer errors, Stefan Monnier, 2020/12/01
- [elpa] externals/nadvice 184fdad 8/9: * nadvice/nadvice.el (advice): Require during byte-compilation,
Stefan Monnier <=