diff options
| author | Lars Ingebrigtsen | 2022-04-22 14:58:59 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-04-22 14:58:59 +0200 |
| commit | 93f87a3190f9efebe0e2db0cd5cfe5aeac6b64c3 (patch) | |
| tree | 6f4ebe0180a4069fcb67c659fe3a357e62ca2e22 | |
| parent | 38797bfa5ef2759d8ae09035eee136273239a277 (diff) | |
| download | emacs-93f87a3190f9efebe0e2db0cd5cfe5aeac6b64c3.tar.gz emacs-93f87a3190f9efebe0e2db0cd5cfe5aeac6b64c3.zip | |
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).
| -rw-r--r-- | lisp/descr-text.el | 4 |
1 files changed, 4 insertions, 0 deletions
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." | |||
| 176 | (insert "\n")) | 176 | (insert "\n")) |
| 177 | ;; Text properties | 177 | ;; Text properties |
| 178 | (when properties | 178 | (when properties |
| 179 | (when (plist-get properties 'invisible) | ||
| 180 | (insert "\nNote that character has an invisibility property,\n" | ||
| 181 | " so the character displayed at point in the buffer may\n" | ||
| 182 | " differ from the character described here.\n")) | ||
| 179 | (newline) | 183 | (newline) |
| 180 | (insert "There are text properties here:\n") | 184 | (insert "There are text properties here:\n") |
| 181 | (describe-property-list properties))))) | 185 | (describe-property-list properties))))) |