summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-10-12 18:55:38 +0000
committerAndrea Corallo <akrl@sdf.org>2020-10-12 21:19:09 +0200
commit6606ec8e313bf48a1ac7b63c52bfeb64c4257107 (patch)
tree075278046c04ad1b8ef032d8f484f71eb808b7f6 /lisp/files.el
parentfeed53f8b5da0e58cce412cd41a52883dba6c1be (diff)
downloademacs-6606ec8e313bf48a1ac7b63c52bfeb64c4257107.tar.gz
emacs-6606ec8e313bf48a1ac7b63c52bfeb64c4257107.tar.bz2
emacs-6606ec8e313bf48a1ac7b63c52bfeb64c4257107.zip
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/files.el')
-rw-r--r--lisp/files.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 833a188b03b..1d330ce87bf 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -900,6 +900,8 @@ recursion."
(read-file-name "Load file: " nil nil 'lambda))))
(load (expand-file-name file) nil nil t))
+(defvar comp-eln-to-el-h)
+
(defun locate-file (filename path &optional suffixes predicate)
"Search for FILENAME through PATH.
If found, return the absolute file name of FILENAME; otherwise