diff options
| author | Lars Ingebrigtsen | 2019-07-30 12:09:12 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-07-30 12:09:12 +0200 |
| commit | 8a30f0414ec4145ca3684639c6ce1edeeb3f3331 (patch) | |
| tree | 0e3e807de70463c8af0d93d8ac9a91757dffb593 | |
| parent | 26381d56e2e39700c60e17ca22c418028a3bfbd9 (diff) | |
| download | emacs-8a30f0414ec4145ca3684639c6ce1edeeb3f3331.tar.gz emacs-8a30f0414ec4145ca3684639c6ce1edeeb3f3331.zip | |
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.
| -rw-r--r-- | lisp/descr-text.el | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/descr-text.el b/lisp/descr-text.el index 8be2b94458a..ba53aeb3855 100644 --- a/lisp/descr-text.el +++ b/lisp/descr-text.el | |||
| @@ -88,8 +88,6 @@ into help buttons that call `describe-text-category' or | |||
| 88 | (insert-text-button | 88 | (insert-text-button |
| 89 | (format "%S" value) | 89 | (format "%S" value) |
| 90 | 'type 'help-face 'help-args (list value))) | 90 | 'type 'help-face 'help-args (list value))) |
| 91 | ((widgetp value) | ||
| 92 | (describe-text-widget value)) | ||
| 93 | (t | 91 | (t |
| 94 | (describe-text-sexp value)))) | 92 | (describe-text-sexp value)))) |
| 95 | (insert "\n"))) | 93 | (insert "\n"))) |