Make description of text properties on the form `(string ...)' work

* lisp/descr-text.el (describe-property-list): Don't special-case
for symbols that have widget properties here (bug#22957).  It's
not documented that this function should do that, and looking at
the code, it doesn't seem like this function is actually used for
doing that, either.  This makes describing some text properties
that are on the form `(string ...)' work.
This commit is contained in:
Lars Ingebrigtsen 2019-07-30 12:09:12 +02:00
parent 26381d56e2
commit 8a30f0414e

View file

@ -88,8 +88,6 @@ into help buttons that call `describe-text-category' or
(insert-text-button
(format "%S" value)
'type 'help-face 'help-args (list value)))
((widgetp value)
(describe-text-widget value))
(t
(describe-text-sexp value))))
(insert "\n")))