[Q] commit: No doc special-case for autoloads; rely on on #'symbol-file instead.

Aidan Kehoe kehoea at parhasard.net
Thu Apr 10 03:30:41 EDT 2008


 Ar an deichiú lá de mí Aibréan, scríobh Stephen J. Turnbull: 

 > QUERY
 > 
 > Aidan Kehoe writes:
 > 
 >  > No doc special-case for autoloads; rely on on #'symbol-file
 >  > instead.
 > 
 > Does #'symbol-file tell you it's an autoloaded symbol?

No, the description constructed by describe-function-1 does. Previous to
this patch things looked like this:

  `loop' is an autoloaded Lisp macro
    -- autoloads from "cl-macs"
    -- loaded from "/usr/local/share/xemacs-21.5-b28/lisp/cl-macs.elc"

  Documentation:
  (loop CLAUSE...): The Common Lisp `loop' macro.

  [...]

Now we have this: 


  `loop' is an autoloaded Lisp macro
    -- loaded from "/usr/local/share/xemacs-21.5-b28/lisp/cl-macs.elc"

  Documentation:
  (loop CLAUSE...): The Common Lisp `loop' macro.

  [...]

 > If not, how is this better than the status quo?

It doesn’t redundantly say where the symbol is loaded from twice. 

-- 
¿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