summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-07-08 09:36:37 -0600
committerTom Tromey <tom@tromey.com>2018-07-12 22:12:28 -0600
commite2a78b0d6d844f29acaaddd775c7b1cd6dec7af8 (patch)
treed8dcd1bac51c66f828cbd0f980ab1d206626491e /lisp/emacs-lisp
parent45eb3b3513619d97d046a8efbe0d16fafc75a734 (diff)
downloademacs-e2a78b0d6d844f29acaaddd775c7b1cd6dec7af8.tar.gz
emacs-e2a78b0d6d844f29acaaddd775c7b1cd6dec7af8.tar.bz2
emacs-e2a78b0d6d844f29acaaddd775c7b1cd6dec7af8.zip
Bignum fixes for byte-compiler and bytecode interpreter
* lisp/emacs-lisp/byte-opt.el: Mark bignump and fixnump as side-effect-and-error-free-fns. * src/bytecode.c (exec_byte_code): Handle bignums.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/byte-opt.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el
index 5c0b5e340bb..1920503b8c4 100644
--- a/lisp/emacs-lisp/byte-opt.el
+++ b/lisp/emacs-lisp/byte-opt.el
@@ -1195,14 +1195,14 @@
window-width zerop))
(side-effect-and-error-free-fns
'(arrayp atom
- bobp bolp bool-vector-p
+ bignump bobp bolp bool-vector-p
buffer-end buffer-list buffer-size buffer-string bufferp
car-safe case-table-p cdr-safe char-or-string-p characterp
charsetp commandp cons consp
current-buffer current-global-map current-indentation
current-local-map current-minor-mode-maps current-time
eobp eolp eq equal eventp
- floatp following-char framep
+ fixnump floatp following-char framep
get-largest-window get-lru-window
hash-table-p
identity ignore integerp integer-or-marker-p interactive-p