From 86edb1119d684c2ee5c1a78253844d60e4af9c73 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Fri, 21 Nov 2008 18:51:19 +0000 Subject: [PATCH] * byte-opt.el (byte-compile-butlast): Move up in file. (byte-optimize-plus): Don't call byte-optimize-delay-constants-math (bug#1334). Use byte-optimize-predicate to optimize constants. (byte-optimize-minus): Don't call byte-optimize-delay-constants-math. Remove zero arguments first if possible. Call byte-optimize-predicate to optimize constants. (byte-optimize-multiply): Remove optimizations for arguments of 0 and 2, which may be inaccurate. Optimize (* x -1) to (- x). Call byte-optimize-predicate. (byte-optimize-divide): Leave runtime errors unchanged. Optimize (/ x 1) to (+ x 0). Remove optimizations for arguments of 0 and 2.0, which may be inaccurate. Call byte-optimize-predicate. --- lisp/ChangeLog | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 62417c7aacc..86ae44ebf9a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,7 +1,23 @@ +2008-11-21 Shigeru Fukaya + + * byte-opt.el (byte-compile-butlast): Move up in file. + (byte-optimize-plus): Don't call + byte-optimize-delay-constants-math (bug#1334). Use + byte-optimize-predicate to optimize constants. + (byte-optimize-minus): Don't call + byte-optimize-delay-constants-math. Remove zero arguments first + if possible. Call byte-optimize-predicate to optimize constants. + (byte-optimize-multiply): Remove optimizations for arguments of 0 + and 2, which may be inaccurate. Optimize (* x -1) to (- x). Call + byte-optimize-predicate. + (byte-optimize-divide): Leave runtime errors unchanged. + Optimize (/ x 1) to (+ x 0). Remove optimizations for arguments of + 0 and 2.0, which may be inaccurate. Call byte-optimize-predicate. + 2008-11-21 Juanma Barranquero - * bookmark.el (bookmark-jump-noselect): Add obsolescence declaration - and remove redundant info from docstring. + * bookmark.el (bookmark-jump-noselect): Add obsolescence + declaration and remove redundant info from docstring. * isearch.el (isearch-search-string): Doc fix. (search-exit-option, search-slow-window-lines, search-slow-speed) -- 2.39.2