Mercurial > hg > xemacs-beta
view netinstall/version.pl @ 4462:34b42224a066
Make the #'add-to-list implementation a little conciser and clearer for XEmacs
2008-05-14 Aidan Kehoe <kehoea@parhasard.net>
* subr.el (add-to-list): Implement the same logic with a more
concise syntax; thank you Stephen, in
http://mid.gmane.org/87ablomdwx.fsf@uwakimon.sk.tsukuba.ac.jp .
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 14 May 2008 23:55:13 +0200 |
parents | 3078fd1074e8 |
children |
line wrap: on
line source
while (<STDIN>) { if (/^\$Revision:\s*([0-9\.]*)/) { print "char *version = \"$1\";\n"; print "static char *id = \"\\n%%% setup-version $1\\n\";\n"; } }