From 93f87a3190f9efebe0e2db0cd5cfe5aeac6b64c3 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 22 Apr 2022 14:58:59 +0200 Subject: [PATCH] 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). --- lisp/descr-text.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/descr-text.el b/lisp/descr-text.el index a8160889325..0f01ad676ae 100644 --- a/lisp/descr-text.el +++ b/lisp/descr-text.el @@ -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))))) -- 2.39.2