[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r102315: gnus-art.el (article-treat-n
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r102315: gnus-art.el (article-treat-non-ascii): Use put-char-table instead of set-char-table-range for XEmacs. |
Date: |
Wed, 10 Nov 2010 06:23:53 +0000 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 102315
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Wed 2010-11-10 06:23:53 +0000
message:
gnus-art.el (article-treat-non-ascii): Use put-char-table instead of
set-char-table-range for XEmacs.
modified:
lisp/gnus/ChangeLog
lisp/gnus/gnus-art.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog 2010-11-10 04:09:49 +0000
+++ b/lisp/gnus/ChangeLog 2010-11-10 06:23:53 +0000
@@ -1,3 +1,8 @@
+2010-11-10 Katsumi Yamaoka <address@hidden>
+
+ * gnus-art.el (article-treat-non-ascii): Use put-char-table instead of
+ set-char-table-range for XEmacs.
+
2010-11-10 Glenn Morris <address@hidden>
* smime.el (from): Remove unused declaration.
=== modified file 'lisp/gnus/gnus-art.el'
--- a/lisp/gnus/gnus-art.el 2010-11-10 01:25:17 +0000
+++ b/lisp/gnus/gnus-art.el 2010-11-10 06:23:53 +0000
@@ -2124,9 +2124,9 @@
(dolist (elem org-entities)
(when (and (listp elem)
(= (length (nth 6 elem)) 1))
- (set-char-table-range table
- (aref (nth 6 elem) 0)
- (nth 4 elem))))
+ (if (featurep 'xemacs)
+ (put-char-table (aref (nth 6 elem) 0) (nth 4 elem) table)
+ (set-char-table-range table (aref (nth 6 elem) 0) (nth 4 elem)))))
(save-excursion
(when (article-goto-body)
(let ((inhibit-read-only t)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r102315: gnus-art.el (article-treat-non-ascii): Use put-char-table instead of set-char-table-range for XEmacs.,
Katsumi Yamaoka <=