summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/nadvice.el
diff options
context:
space:
mode:
authorBrian Leung <leungbk@mailfence.com>2020-10-12 18:55:38 +0000
committerAndrea Corallo <akrl@sdf.org>2020-10-12 21:25:50 +0200
commit237fd33aef7e0f4b187ee0c1f367f27a90d603dc (patch)
tree075278046c04ad1b8ef032d8f484f71eb808b7f6 /lisp/emacs-lisp/nadvice.el
parenta3304feb9be1489036574fdac2a4a3e4e7a0c38a (diff)
downloademacs-237fd33aef7e0f4b187ee0c1f367f27a90d603dc.tar.gz
Fix some compilation warnings in non nativecomp build (bug#43892)
* lisp/emacs-lisp/advice.el (comp-subr-trampoline-install): Declare function. * lisp/emacs-lisp/find-func.el (comp-eln-to-el-h): Declare variable. * lisp/emacs-lisp/nadvice.el (comp-subr-trampoline-install): Declare function. * lisp/files.el (comp-eln-to-el-h): Declare variable. * lisp/help.el (subr-native-lambda-list): Declare function.
Diffstat (limited to 'lisp/emacs-lisp/nadvice.el')
-rw-r--r--lisp/emacs-lisp/nadvice.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/nadvice.el b/lisp/emacs-lisp/nadvice.el
index 8b60c08440b..e68c1356081 100644
--- a/lisp/emacs-lisp/nadvice.el
+++ b/lisp/emacs-lisp/nadvice.el
@@ -316,6 +316,8 @@ is also interactive. There are 3 cases:
`(advice--add-function ,where (gv-ref ,(advice--normalize-place place))
,function ,props))
+(declare-function comp-subr-trampoline-install "comp")
+
;;;###autoload
(defun advice--add-function (where ref function props)
(when (and (featurep 'nativecomp)