emacs-devel
[Top][All Lists]
Advanced

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

Re: doc elisp intro cross reference fixes


From: Per Abrahamsen
Subject: Re: doc elisp intro cross reference fixes
Date: Thu, 27 Nov 2003 19:46:48 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Luc Teirlinck <address@hidden> writes:

> 1.  (get sym 'custom-type) :
>
> Not only are there defcustom's without a :group, there also sre
> defcustom's without a :type :

Try this instead:

(let (found)
  (mapatoms (lambda (sym) 
              (let ((group (get sym 'custom-group)))
                (setq found (append group found)))))
  (mapatoms (lambda (sym)
              (and (boundp sym)
                    (get sym 'standard-value)
                   (not (assq sym found))
                   (insert (format "%S\n" sym))))))

> 2. A variable defined using a defcustom without a :group _is_ in a
>    group, the `nil' group:

Nope.





reply via email to

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