Subject: Re: bug#13305: 24.2; describe-function gives incorrect function location information (for functions changed in a hook?)

From: Mark Lillibridge <[email-masked]>
Date: Tue, 01 Jan 2013 11:35:30 -0800

Stefan Monnier <[email-masked]> writes:

>  > (add-hook 'rmail-mode-hook
>  >   (function (lambda()
>  > (require 'rmailsum)
>  > (defun rmail-summary-output (&optional file-name n)
>  
>  I also *strongly* discourage the use of `defun' within another function.

    Is this in the elisp manual somewhere?  It's exactly what one would
do given experience with scheme or other lisps.

- Mark