[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33375: 27.0.50; Nested function definitions
From: |
Noam Postavsky |
Subject: |
bug#33375: 27.0.50; Nested function definitions |
Date: |
Thu, 15 Nov 2018 07:36:43 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
> What puzzles me when evaluating:
>
>
> (setq a (foo2))
> a ==> foo3
> (call-interactively 'foo2) ==> foo3
>
> But M-x foo2 RET messages "Foo2"
The last value form in `foo2' returns `foo3'. The last `message' call
displays "Foo2". Calling a command via M-x doesn't use the return
value, so you see only the last message. Note that evaluating (foo2)
also messages "Foo2" (you can see it in *Messages*), it's just covered
by the subsequent message showing the return value.
- bug#33375: 27.0.50; Nested function definitions, Andreas Röhler, 2018/11/14
- bug#33375: 27.0.50; Nested function definitions, Andreas Röhler, 2018/11/14
- bug#33375: 27.0.50; Nested function definitions, Andreas Röhler, 2018/11/14
- bug#33375: 27.0.50; Nested function definitions, Eli Zaretskii, 2018/11/14
- bug#33375: 27.0.50; Nested function definitions, Andreas Röhler, 2018/11/15
- bug#33375: 27.0.50; Nested function definitions,
Noam Postavsky <=
- bug#33375: 27.0.50; Nested function definitions, Andreas Röhler, 2018/11/15
- bug#33375: 27.0.50; Nested function definitions, Eli Zaretskii, 2018/11/15
- bug#33375: 27.0.50; Nested function definitions, Andreas Röhler, 2018/11/15
- bug#33375: 27.0.50; Nested function definitions, Andreas Röhler, 2018/11/15