Mercurial > hg > xemacs-beta
view nt/Xmd.patch @ 5775:4004c3266c09
Transform #'princ to #'write-sequence at compile time if appropriate.
lisp/ChangeLog addition:
2013-12-22 Aidan Kehoe <kehoea@parhasard.net>
* cl-macs.el:
* cl-macs.el (princ): New compiler macro.
Transform #'princ to #'write-sequence if we can determine at
compile time that it is being passed a string. Initialising the
printer is expensive enough, but much of our code took this
approach because #'write-sequence wasn't available.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 22 Dec 2013 10:36:33 +0000 |
parents | a86b2b5e0111 |
children |
line wrap: on
line source
--- Xmd.h~ Thu Jun 08 23:20:40 1995 +++ Xmd.h Sun Mar 16 13:09:10 1997 @@ -150,8 +150,9 @@ typedef CARD16 BITS16; typedef CARD8 BYTE; +#ifndef WIN32 typedef CARD8 BOOL; - +#endif