[PATCH] Avoid syntax complaints in #'substitute-in-file-name

Aidan Kehoe kehoea at parhasard.net
Fri Dec 14 09:32:23 EST 2007


 Ar an dara lá déag de mí na Nollaig, scríobh Stephen J. Turnbull: 

 > QUERY
 > 
 > Aren't we being altogether too smart for our own good at C level? 

Yes. 

 > If you're going to try to second-guess a luser, do it in Lisp. If you
 > really think you need to do this here, I question whether
 > substitute-in-file-name isn't being called in the wrong place or with
 > insufficient protection.

It’s called when determining the user’s home directory at startup; also from
load-internal. I don’t think making use of #'substitute-in-file-name’s
features at dump time is a particularly good idea, so it might be a better
idea to move the function to Lisp and only call it from both places if it’s
bound.

-- 
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?




More information about the XEmacs-Patches mailing list