[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18337: 24.4.50; apropos fails on "scroll"
From: |
Stefan Monnier |
Subject: |
bug#18337: 24.4.50; apropos fails on "scroll" |
Date: |
Thu, 28 Aug 2014 09:17:04 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
> (when (setq properties (symbol-plist 'vertical-scroll-bar))
> (setq doc (list (car properties)))
> (while (setq properties (cdr (cdr properties)))
> (setq doc (cons (car properties) doc)))
> (nreverse doc))
> => (0 event-symbol-element-mask event-symbol-elements modifier-cache
> variable-documentation)
> Applying 'symbol-name to that list then yields the error.
Note that, while convention is to use a symbol for property names, that
is not the only valid choice. 0 is a valid property name (tho an odd
one, arguably).
So while this 0 should probably be changed the mapconcat code that burps
on it should probably be changed not to assume that only symbols will
be used as property names.
Stefan