# HG changeset patch # User Chong Yidong # Date 1227293479 0 # Node ID 8fff0bee6091a05c23ab32b44f6b6450ac137bf0 # Parent ead7bc2c9ba39fc1cf31f0364f0d36d83e0e594c * 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. diff -r ead7bc2c9ba3 -r 8fff0bee6091 lisp/ChangeLog --- a/lisp/ChangeLog Fri Nov 21 15:55:58 2008 +0000 +++ b/lisp/ChangeLog Fri Nov 21 18:51:19 2008 +0000 @@ -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)