aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2002-03-17 21:51:46 +0000
committerStefan Monnier2002-03-17 21:51:46 +0000
commitec96e747a1779396e770f3194bc6af8f8ebcc707 (patch)
tree03e672117905e18bf71535e55aff2e699fef99cd
parent2154a29765fbd87edf495b1db960e8a90d1be9bc (diff)
downloademacs-ec96e747a1779396e770f3194bc6af8f8ebcc707.tar.gz
emacs-ec96e747a1779396e770f3194bc6af8f8ebcc707.zip
(describe-char-after): Use `internal-describe-syntax-value' again.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/international/mule-diag.el17
2 files changed, 9 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fbaa35baefb..8e517cc4fe1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12002-03-17 Stefan Monnier <monnier@cs.yale.edu> 12002-03-17 Stefan Monnier <monnier@cs.yale.edu>
2 2
3 * international/mule-diag.el (describe-char-after):
4 Use `internal-describe-syntax-value' again (got lost somewhere).
5
3 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859): 6 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
4 Use unify-8859-on-decoding-mode. 7 Use unify-8859-on-decoding-mode.
5 (unify-8859-on-decoding-mode): Also set translation-table-for-input. 8 (unify-8859-on-decoding-mode): Also set translation-table-for-input.
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el
index 2911f7fd4c6..ebd9a44ce55 100644
--- a/lisp/international/mule-diag.el
+++ b/lisp/international/mule-diag.el
@@ -576,17 +576,12 @@ which font is being used for displaying the character."
576 (format "%d" (nth 1 split)) 576 (format "%d" (nth 1 split))
577 (format "%d %d" (nth 1 split) (nth 2 split))))) 577 (format "%d %d" (nth 1 split) (nth 2 split)))))
578 ("syntax" 578 ("syntax"
579 ,(let* ((old-table (syntax-table)) 579 ,(let ((syntax (get-char-property (point) 'syntax-table)))
580 (table (get-char-property (point) 'syntax-table))) 580 (with-temp-buffer
581 (if (consp table) 581 (internal-describe-syntax-value
582 (nth 1 (assq (car table) 582 (if (consp syntax) syntax
583 (mapcar #'cdr syntax-code-table))) 583 (aref (or syntax (syntax-table)) char)))
584 (unwind-protect 584 (buffer-string))))
585 (progn
586 (if (syntax-table-p table)
587 (set-syntax-table table))
588 (nth 2 (assq (char-syntax char) syntax-code-table)))
589 (set-syntax-table old-table)))))
590 ("category" 585 ("category"
591 ,@(let ((category-set (char-category-set char))) 586 ,@(let ((category-set (char-category-set char)))
592 (if (not category-set) 587 (if (not category-set)