diff options
| author | Katsumi Yamaoka | 2010-11-11 01:45:05 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-11-11 01:45:05 +0000 |
| commit | 9c1d3f983ff0ecf2159e3601faa37410dd8d8be8 (patch) | |
| tree | 75290f775174b014512d4ff22c656d505e51bd4e /lisp | |
| parent | 7dfd3008083f8eb7d7c9113ec3d60698c2030897 (diff) | |
| download | emacs-9c1d3f983ff0ecf2159e3601faa37410dd8d8be8.tar.gz emacs-9c1d3f983ff0ecf2159e3601faa37410dd8d8be8.zip | |
gnus-art.el (article-treat-non-ascii): Make it work for XEmacs (at least 21.5).
smime.el (from): Declare it again for XEmacs.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gnus/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 6 | ||||
| -rw-r--r-- | lisp/gnus/smime.el | 2 |
3 files changed, 13 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 52d492b0e38..ef0d6037152 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2010-11-11 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus-art.el (article-treat-non-ascii): Make it work for XEmacs (at | ||
| 4 | least 21.5). | ||
| 5 | |||
| 6 | * smime.el (from): Declare it again for XEmacs. | ||
| 7 | |||
| 1 | 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org> | 8 | 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 9 | ||
| 3 | * message.el (message-resend): Don't disable encoding unless it's | 10 | * message.el (message-resend): Don't disable encoding unless it's |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 327ba39f824..82de5b46475 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -2120,7 +2120,7 @@ try this wash." | |||
| 2120 | "Translate many Unicode characters into their ASCII equivalents." | 2120 | "Translate many Unicode characters into their ASCII equivalents." |
| 2121 | (interactive) | 2121 | (interactive) |
| 2122 | (require 'org-entities) | 2122 | (require 'org-entities) |
| 2123 | (let ((table (make-char-table nil))) | 2123 | (let ((table (make-char-table (if (featurep 'xemacs) 'generic)))) |
| 2124 | (dolist (elem org-entities) | 2124 | (dolist (elem org-entities) |
| 2125 | (when (and (listp elem) | 2125 | (when (and (listp elem) |
| 2126 | (= (length (nth 6 elem)) 1)) | 2126 | (= (length (nth 6 elem)) 1)) |
| @@ -2132,7 +2132,9 @@ try this wash." | |||
| 2132 | (let ((inhibit-read-only t) | 2132 | (let ((inhibit-read-only t) |
| 2133 | replace) | 2133 | replace) |
| 2134 | (while (not (eobp)) | 2134 | (while (not (eobp)) |
| 2135 | (if (not (setq replace (aref table (following-char)))) | 2135 | (if (not (setq replace (if (featurep 'xemacs) |
| 2136 | (get-char-table (following-char) table) | ||
| 2137 | (aref table (following-char))))) | ||
| 2136 | (forward-char 1) | 2138 | (forward-char 1) |
| 2137 | (delete-char 1) | 2139 | (delete-char 1) |
| 2138 | (insert replace)))))))) | 2140 | (insert replace)))))))) |
diff --git a/lisp/gnus/smime.el b/lisp/gnus/smime.el index 18b5dbd26dc..3045e76ceed 100644 --- a/lisp/gnus/smime.el +++ b/lisp/gnus/smime.el | |||
| @@ -426,6 +426,8 @@ Any details (stdout and stderr) are left in the buffer specified by | |||
| 426 | (insert-buffer-substring smime-details-buffer) | 426 | (insert-buffer-substring smime-details-buffer) |
| 427 | nil)) | 427 | nil)) |
| 428 | 428 | ||
| 429 | (defvar from) ;; Necessary for XEmacs to silence the byte compiler. | ||
| 430 | |||
| 429 | (defun smime-decrypt-region (b e keyfile) | 431 | (defun smime-decrypt-region (b e keyfile) |
| 430 | "Decrypt S/MIME message in region between B and E with key in KEYFILE. | 432 | "Decrypt S/MIME message in region between B and E with key in KEYFILE. |
| 431 | On success, replaces region with decrypted data and return non-nil. | 433 | On success, replaces region with decrypted data and return non-nil. |