Putting together a test-case for this is not easy. I’m about to commit a
change to move the iso-8859-[...] coding systems away from ISO 2022, and
lisp/mule/latin.el fails in the absence of this change with "Multiply
defined symbol label" 1.
This change doesn’t preserve print-gensym-alist when byte-compile-file is
called successively on different files.
APPROVE COMMIT
NOTE: This patch has been committed.
lisp/ChangeLog addition:
2007-12-01 Aidan Kehoe <kehoea(a)parhasard.net>
* bytecomp.el (byte-compile-output-file-form):
Bind print-gensym to a cons, to tell the Lisp printer not to clear
print-gensym-alist on exit from #'print. This is appropriate
because #'byte-compile-output-file-form may be called multiple
times for a given output file, and re-using the
#1=#:... placeholders in that context is inappropriate.
XEmacs Trunk source patch:
Diff command: cvs -q diff -Nu
Files affected: lisp/bytecomp.el
===================================================================
RCS
Index: lisp/bytecomp.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/bytecomp.el,v
retrieving revision 1.21
diff -u -u -r1.21 bytecomp.el
--- lisp/bytecomp.el 2007/11/27 22:15:34 1.21
+++ lisp/bytecomp.el 2007/12/01 13:30:49
@@ -1888,7 +1888,7 @@
(print-readably t) ; print #[] for bytecode, 'x for (quote x)
(print-gensym (if (and byte-compile-print-gensym
(not byte-compile-emacs19-compatibility))
- t nil)))
+ '(t) nil)))
(princ "\n" byte-compile-outbuffer)
(prin1 form byte-compile-outbuffer)
nil)))
--
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches