[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[STUMP] allow custom types to return nil
From: |
Eric Abrahamsen |
Subject: |
[STUMP] allow custom types to return nil |
Date: |
Fri, 21 Mar 2014 10:59:25 +0800 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3 (gnu/linux) |
I've been working on another patch to the manual, documenting commands
and custom types. In the course of writing an example of a custom type,
I discovered that you can't have a type return a nil value: it aborts
the interactive call. This is mentioned in a FIXME in
`call-interactively'.
For more complicated custom types I don't see why returning a nil value
should make the command blow up altogether. I've attached a patch which
allows nil return values -- I doubt it will cause any problems, but I'm
also happy to just run it locally for a few weeks first and see if
anything happens.
E
0001-Allow-types-to-return-nil-values.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [STUMP] allow custom types to return nil,
Eric Abrahamsen <=