summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index dff8bcfa209..b955e9919de 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -4067,7 +4067,7 @@ that suppresses all warnings during execution of BODY."
(byte-compile-out-tag default-tag)
(if default-case
(byte-compile-body-do-effect default-case)
- (byte-compile-form 'nil))
+ (byte-compile-constant nil))
(byte-compile-out-tag donetag)
(push jump-table byte-compile-jump-tables))))