From: Andrea Corallo Date: Sun, 7 Jun 2020 13:09:38 +0000 (+0200) Subject: * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Add `make-byte-code'. X-Git-Tag: emacs-28.0.90~7195 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=53fba73ff2599d2e5f06927d474311dc987a4c4d;p=emacs.git * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Add `make-byte-code'. `make-byte-code' wraps `vector' doing some sanity check on the input arguments. `vector' is in side-effect-and-error-free-fns so add `make-byte-code' to side-effect-free-fns. --- diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el index 62b82e4f32a..12bde8faf39 100644 --- a/lisp/emacs-lisp/byte-opt.el +++ b/lisp/emacs-lisp/byte-opt.el @@ -1219,8 +1219,8 @@ length line-beginning-position line-end-position local-variable-if-set-p local-variable-p locale-info log log10 logand logb logcount logior lognot logxor lsh - make-list make-string make-symbol marker-buffer max member memq min - minibuffer-selected-window minibuffer-window + make-byte-code make-list make-string make-symbol marker-buffer max + member memq min minibuffer-selected-window minibuffer-window mod multibyte-char-to-unibyte next-window nth nthcdr number-to-string parse-colon-path plist-get plist-member prefix-numeric-value previous-window prin1-to-string propertize