Chong Yidong
cbe5b0eb18
(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 18:51:48 +00:00
Glenn Morris
d6cba7ae45
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 03:21:21 +00:00
Juanma Barranquero
9e60aa0b8c
(side-effect-free-fns): Fix typo.
2008-03-25 23:27:11 +00:00
Stefan Monnier
20ce031c40
(byte-compile-trueconstp, byte-compile-nilconstp): No recursion in defsubst.
2008-03-03 21:07:12 +00:00
Stefan Monnier
42521cd491
(byte-optimize-form-code-walker):
...
Walk into the body of lambdas after byte-compile-unfold-lambda.
2008-03-03 03:38:21 +00:00
Miles Bader
430d2ee291
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
2008-01-09 01:21:15 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
8b72699e88
Add 2008 to copyright years.
2008-01-07 01:14:52 +00:00
Miles Bader
0bd5084171
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
2007-12-06 09:51:45 +00:00
Miles Bader
d4aa48db8e
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-937
2007-11-21 04:55:58 +00:00
Richard M. Stallman
b1dfec553a
Comment change.
2007-11-20 12:38:26 +00:00
Juanma Barranquero
f31d0424ea
Comment change.
2007-11-14 11:18:54 +00:00
Dan Nicolaescu
d8947b79fc
* emacs-lisp/byte-opt.el (byte-compile-trueconstp): Handle more
...
constant forms.
(byte-compile-nilconstp): New function.
(byte-optimize-cond): Kill subsequent branches when a branch is
know to be taken or not taken.
(byte-optimize-if): Use byte-compile-nilconstp instead of hand
coding.
2007-11-13 16:10:14 +00:00
Miles Bader
f23d76bdef
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-283
2007-11-11 00:56:44 +00:00
Dan Nicolaescu
70f4194508
* emacs-lisp/byte-opt.el (byte-optimize-featurep): Optimize
...
(featurep 'emacs) to t.
* emacs-lisp/bytecomp.el (byte-compile-find-bound-condition): New
function.
(byte-compile-maybe-guarded): Use it to also look for bound
symbols inside `and' forms. Comment out non-working code that was
trying to avoid warnings for XEmacs code.
2007-11-10 08:05:15 +00:00
Miles Bader
18cd1f1a08
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 902-908)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 131-137)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 261-262)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-278
2007-10-27 09:12:07 +00:00
Stefan Monnier
538a93d833
(byte-optimize-featurep): Fix paren typo.
2007-10-21 20:10:06 +00:00
Miles Bader
2b42d458a4
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 880-885)
- Remove RCS keywords from doc/misc/cc-mode.texi
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-264
2007-10-13 05:53:03 +00:00
Glenn Morris
988e29061a
(top level): Use mapc rather than mapcar.
2007-10-12 03:00:05 +00:00
Miles Bader
1bb9a689ac
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 857-865)
- Update from CVS
- Merge from emacs--rel--22
- Update from CVS: lisp/emacs-lisp/avl-tree.el: New file.
- Remove RCS keywords
* emacs--rel--22 (patch 97-100)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 246-247)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-252
2007-08-29 05:03:40 +00:00
Miles Bader
7f22a76506
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 97-100)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 246-247)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-860
2007-08-27 04:00:19 +00:00
Stefan Monnier
9d693d807f
(byte-optimize-if): Don't presume `clause' is a list.
2007-08-24 14:39:25 +00:00
Stefan Monnier
40fafc2162
(byte-optimize-if): Move `progn' out of the test
...
so as to optimise cases where the `progn's result is constant.
2007-08-23 19:56:16 +00:00
Stefan Monnier
5ebfbcdc3f
(byte-optimize-featurep): Also handle `sxemacs'.
2007-08-23 15:11:31 +00:00
Miles Bader
b2e6b10fe2
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 846-851)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 88-92)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 242-244)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-246
2007-08-13 13:48:35 +00:00
Glenn Morris
ab2d877d45
Replace `iff' in doc-strings and comments.
2007-08-08 07:17:12 +00:00
Miles Bader
e468b87f91
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 824-831)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 70-74)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-238
2007-07-27 10:52:18 +00:00
Glenn Morris
e0085d62fa
Switch license to GPLv3 or later.
2007-07-25 04:14:29 +00:00
Miles Bader
991a760232
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 698-710)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 216)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-196
2007-04-24 21:56:25 +00:00
Chong Yidong
fb67ebdf16
(byte-optimize-form-code-walker): Evaluate pure function calls if possible.
...
(byte-optimize-all-constp): New function.
2007-04-11 17:10:42 +00:00
Glenn Morris
6f7e29f1d2
Markus Triska <markus.triska at gmx.at>:
...
(byte-optimize-backward-char, byte-optimize-backward-word): Remove -
move to bytecomp.el.
2007-04-11 03:57:11 +00:00
Miles Bader
57cb2e6f26
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 675-697)
- Update from CVS
- Merge from gnus--rel--5.10
- Release ERC 5.2.
* gnus--rel--5.10 (patch 211-215)
- Update from CVS
- Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-189
2007-04-11 00:17:47 +00:00
Glenn Morris
17975ebf23
Markus Triska <markus.triska at gmx.at>:
...
(byte-optimize-char-before): Remove (move to bytecomp.el as
byte-compile-char-before).
2007-04-10 03:58:03 +00:00
Chong Yidong
e5a858825f
Remove spurious debugging code.
2007-04-09 16:33:01 +00:00
Chong Yidong
c990483162
* emacs-lisp/byte-opt.el (byte-optimize-pure-func): Remove function
...
(originally checked in as byte-optimize-concat on 1997-11-02).
2007-04-06 18:22:23 +00:00
Chong Yidong
1fbb84daed
(byte-optimize-form-code-walker): Print entire form.
2007-04-05 17:57:05 +00:00
Miles Bader
c0466914ba
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 586-614)
- Update from CVS
- Update from erc--emacs--22
- Merge from gnus--rel--5.10
- Merge from erc--main--0
- Make byte compiler correctly write circular constants
* gnus--rel--5.10 (patch 186-196)
- Update from CVS
- Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-162
2007-01-26 06:16:11 +00:00
Glenn Morris
f0fa15c5e5
Add 2007 to copyright years.
2007-01-21 02:48:43 +00:00
Miles Bader
380874900c
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-13
...
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 43-57)
- Update from CVS
- Merge from erc--emacs--0
- Make constrain-to-field notice overlays
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 18-21)
- Update from CVS
- Merge from emacs--devo--0
2006-02-08 04:26:44 +00:00
Thien-Thi Nguyen
ceb4c4d303
Update years in copyright notice; nfc.
2006-02-06 12:31:40 +00:00
Miles Bader
41882805d6
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-97
...
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 616-696)
- Add lisp/mh-e/.arch-inventory
- Update from CVS
- Merge from gnus--rel--5.10
- Update from CVS: lisp/smerge-mode.el: Add 'tools' to file keywords.
- lisp/gnus/ChangeLog: Remove duplicate entry
* gnus--rel--5.10 (patch 147-181)
- Update from CVS
- Merge from emacs--cvs-trunk--0
- Update from CVS: lisp/mml.el (mml-preview): Doc fix.
- Update from CVS: texi/message.texi: Fix default values.
- Update from CVS: texi/gnus.texi (RSS): Addition.
2006-01-16 08:37:27 +00:00
Richard M. Stallman
9d8684ddf3
(byte-optimize-form-code-walker): Improve warning message text.
2005-11-16 22:20:03 +00:00
Andreas Schwab
c80eca7195
(byte-optimize-pure-func): Quote the
...
folded value.
2005-11-02 22:18:56 +00:00
Stefan Monnier
4cd305ac33
(byte-optimize-pure-func): Quote the eval'd value so it's not re-eval'd.
2005-11-02 21:56:15 +00:00
Stefan Monnier
cfa1d4c6d1
(string-to-syntax): Mark it as pure.
2005-11-02 19:03:17 +00:00
Miles Bader
d4cccb1406
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-78
...
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 514-518)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 104-105)
- Update from CVS
2005-08-26 09:51:52 +00:00
Thien-Thi Nguyen
3731a85096
Update years in copyright notice; nfc.
2005-08-06 17:48:15 +00:00
Miles Bader
d3e4babdd1
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-68
...
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 459-473)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 86-87)
- Update from CVS
2005-07-07 12:43:14 +00:00
Lute Kamstra
3a35cf56e7
Update FSF's address.
2005-07-04 17:55:18 +00:00
Miles Bader
3f0607e494
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-65
...
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 425-445)
- Remove "-face" suffix from gnus faces
- Update from CVS
- Remove "-face" suffix from MH-E faces
- Remove "-face" suffix from cc-mode faces
- Remove "-face" suffix from eshell faces
- Remove "-face" suffix from ediff faces
- Implement tty vertical-divider face
- Rename vertical-divider face to vertical-border
- Change escape-glyph color on dark backgrounds back to cyan
- Update reference to renamed Buffer-menu-buffer face
2005-06-24 01:59:52 +00:00