bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8256: widget-complete does not complete for type 'directory on w32


From: Lennart Borgman
Subject: bug#8256: widget-complete does not complete for type 'directory on w32
Date: Tue, 15 Mar 2011 18:40:38 +0100

On Tue, Mar 15, 2011 at 6:18 PM, Stefan Monnier
<address@hidden> wrote:
>>   emacs -Q
>>   Paste to *scratch* this code:
>
>>       (defcustom my-dir nil
>>           "doc"
>>          :type 'directory)
>
>>   Eval it.
>>   M-x customize-option RET my-dir RET
>
> Problem here: nil is not a directory, so the above defcustom is not
> valid.  Oddly enough Customize does not signal the error, and instead
> gets into a weird state.  Once you set my-dir to a string, things work
> much better.

What should signal that it the defcustom is not valid? And when?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]