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

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

Re: custom types using define-widget


From: Per Abrahamsen
Subject: Re: custom types using define-widget
Date: Tue, 17 Jan 2006 14:10:38 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

Kevin Rodgers <ihs_4664@yahoo.com> writes:

> There doesn't seem to be a widget-p predicate -- why not?  Then you
> could do something like:

I don't remember why not.

(defun widget-p (symbol)
  "Non-nil iff SYMBOL is a widget."
  (get symbol 'widget-type))





reply via email to

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