diff options
| author | Richard M. Stallman | 2001-12-28 03:01:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-12-28 03:01:42 +0000 |
| commit | a228c48e1aca2a910c6ba35e03a3c12097b00cee (patch) | |
| tree | 250203051bd5137f260ce12a326fd9d966f41619 | |
| parent | 0e270d1540f141cb1fd8b8305e6eee4365104543 (diff) | |
| download | emacs-a228c48e1aca2a910c6ba35e03a3c12097b00cee.tar.gz emacs-a228c48e1aca2a910c6ba35e03a3c12097b00cee.zip | |
(describe-char-after): Describe the text properties of the char after point.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/international/mule-diag.el | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9ea6426b563..c7c9c2f07c6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2001-12-27 Richard M. Stallman <rms@gnu.org> | 1 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
| 2 | 2 | ||
| 3 | * international/mule-diag.el (describe-char-after): | ||
| 4 | Describe the text properties of the char after point. | ||
| 5 | |||
| 3 | * help.el (describe-key): Doc fix. | 6 | * help.el (describe-key): Doc fix. |
| 4 | 7 | ||
| 5 | 2001-12-26 Markus Rost <rost@math.ohio-state.edu> | 8 | 2001-12-26 Markus Rost <rost@math.ohio-state.edu> |
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el index f38ca92e897..a9288e10c7a 100644 --- a/lisp/international/mule-diag.el +++ b/lisp/international/mule-diag.el | |||
| @@ -528,6 +528,7 @@ which font is being used for displaying the character." | |||
| 528 | (error "No character at point")) | 528 | (error "No character at point")) |
| 529 | (let* ((char (char-after pos)) | 529 | (let* ((char (char-after pos)) |
| 530 | (charset (char-charset char)) | 530 | (charset (char-charset char)) |
| 531 | (props (text-properties-at pos)) | ||
| 531 | (composition (find-composition (point) nil nil t)) | 532 | (composition (find-composition (point) nil nil t)) |
| 532 | (composed (if composition (buffer-substring (car composition) | 533 | (composed (if composition (buffer-substring (car composition) |
| 533 | (nth 1 composition)))) | 534 | (nth 1 composition)))) |
| @@ -620,6 +621,11 @@ which font is being used for displaying the character." | |||
| 620 | " ") | 621 | " ") |
| 621 | ").\n" | 622 | ").\n" |
| 622 | "See the variable `reference-point-alist' for the meaning of the rule.\n"))) | 623 | "See the variable `reference-point-alist' for the meaning of the rule.\n"))) |
| 624 | (if props | ||
| 625 | (insert "\nText properties\n")) | ||
| 626 | (while props | ||
| 627 | (insert (format " %s: %s" (car props) (cadr props))) | ||
| 628 | (setq props (cddr props))) | ||
| 623 | )))) | 629 | )))) |
| 624 | 630 | ||
| 625 | 631 | ||