]> git.eshelyaron.com Git - emacs.git/commitdiff
Make description of text properties on the form `(string ...)' work
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 30 Jul 2019 10:09:12 +0000 (12:09 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 30 Jul 2019 10:09:12 +0000 (12:09 +0200)
* 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.

lisp/descr-text.el

index 8be2b94458a501f48da79c6cfc20af7a46407658..ba53aeb3855ed0e9dcad99f5f192f5b959e514dd 100644 (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")))