|
From: | Oleksandr Gavenko |
Subject: | Re: An elisp question |
Date: | Fri, 19 Sep 2008 21:17:48 +0300 |
User-agent: | Thunderbird 2.0.0.9 (Windows/20071031) |
Nikolaj Schumacher пишет:
Incidentally, if anything, testing for t is more correct. :) The doc for `y-or-n-p' clearly states, it will return t for "yes". It could be extended to return 'cancel without changing the interface. Using any non-nil value as "yes" is indeed an assumption. (Not that it's likely to break, or that I haven't made that assumption myself...)
Thanks, yes for some functions there may by side effect with non-nil as true!
[Prev in Thread] | Current Thread | [Next in Thread] |