[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Return
From: |
David Kastrup |
Subject: |
Re: Return |
Date: |
Tue, 07 Dec 2010 15:38:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
"Stephen J. Turnbull" <address@hidden> writes:
> Stefan Monnier writes:
>
> > Actually, I'm considering to disallow non-top-level defuns in
> > lexical-scope mode, just because it's a good opportunity to introduce
> > such "breakage" and because non-top-level defuns are bugs in 99% of
> > the cases (in Elisp).
>
> So I guess you don't expect to be adding to any hooks in lexical mode?
>
> (add-hook captain-hook (defun sm-or-dak?-style-foo () (foo bar baz)))
Eek. No point in using the return value of a defun (is it even
defined?) like that if you can equally well use the function symbol.
--
David Kastrup
- Re: Return, (continued)
- Re: Return, Fren Zeee, 2010/12/08
- Re: Return, Stefan Monnier, 2010/12/09
- Re: Return, Stephen J. Turnbull, 2010/12/09
- Re: Return, Stefan Monnier, 2010/12/09
- Re: Return, Stephen J. Turnbull, 2010/12/10
- Re: Return, Fren Zeee, 2010/12/23
- Re: Return, Stephen J. Turnbull, 2010/12/07
- Re: Return,
David Kastrup <=
- Re: Return, Stephen J. Turnbull, 2010/12/07
- Re: Return, tomas, 2010/12/07
- Re: Return, MON KEY, 2010/12/06
- Re: Return, Stephen J. Turnbull, 2010/12/07
- Re: Return, David Kastrup, 2010/12/07
- Re: Return, Stephen J. Turnbull, 2010/12/07
- Re: Return, Richard Stallman, 2010/12/08
- Re: Return, Daniel Colascione, 2010/12/10
- Keyword args (was: Return), Helmut Eller, 2010/12/10
- Re: Keyword args, Daniel Colascione, 2010/12/12