summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2021-03-07 20:19:20 +0100
committerAndrea Corallo <akrl@sdf.org>2021-03-07 20:19:20 +0100
commitdbdc44db15ef9daa24d92c59d4e158f3963a172f (patch)
treecf48697f66299efc55f9eddf369b9597b31e38b6 /lisp/emacs-lisp/bytecomp.el
parent38b4ac3e6b5ac7e88003e02b30bbe2bdb82e6e6a (diff)
downloademacs-dbdc44db15ef9daa24d92c59d4e158f3963a172f.tar.gz
emacs-dbdc44db15ef9daa24d92c59d4e158f3963a172f.tar.bz2
emacs-dbdc44db15ef9daa24d92c59d4e158f3963a172f.zip
Allow for `comp-native-driver-options' to work as a file-local variable.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r--lisp/emacs-lisp/bytecomp.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 4169b0756df..3ee8113c4f4 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -2272,7 +2272,10 @@ With argument ARG, insert value in current buffer after the form."
(defvar comp-speed)
(push `(comp-speed . ,comp-speed) byte-native-qualities)
(defvar comp-debug)
- (push `(comp-debug . ,comp-debug) byte-native-qualities))
+ (push `(comp-debug . ,comp-debug) byte-native-qualities)
+ (defvar comp-native-driver-options)
+ (push `(comp-native-driver-options . ,comp-native-driver-options)
+ byte-native-qualities))
;; Compile the forms from the input buffer.
(while (progn