1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

Make `C-u C-x =' be more verbose about invisible characters

* lisp/descr-text.el (describe-text-properties-1): Note confusing
bits about invisible characters (bug#3400).
This commit is contained in:
Lars Ingebrigtsen 2022-04-22 14:58:59 +02:00
parent 38797bfa5e
commit 93f87a3190

View File

@ -176,6 +176,10 @@ otherwise."
(insert "\n"))
;; Text properties
(when properties
(when (plist-get properties 'invisible)
(insert "\nNote that character has an invisibility property,\n"
" so the character displayed at point in the buffer may\n"
" differ from the character described here.\n"))
(newline)
(insert "There are text properties here:\n")
(describe-property-list properties)))))