diff options
| author | Katsumi Yamaoka | 2010-11-10 07:55:25 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-11-10 07:55:25 +0000 |
| commit | 3d49267055188e2f4bf052c4e1a376ec509d3304 (patch) | |
| tree | 00fb983e69727ed9c162cfa5a7e1c9b1d9ca6eb4 | |
| parent | fdf14191747d274358cc9eedb8efa03f60380ca8 (diff) | |
| download | emacs-3d49267055188e2f4bf052c4e1a376ec509d3304.tar.gz emacs-3d49267055188e2f4bf052c4e1a376ec509d3304.zip | |
rfc2047.el (rfc2047-syntax-table): Simplify.
| -rw-r--r-- | lisp/gnus/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/gnus/rfc2047.el | 10 |
2 files changed, 5 insertions, 7 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index f732daf30bf..5eb6e138630 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org> | 1 | 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 2 | ||
| 3 | * rfc2047.el (rfc2047-syntax-table): Simplify. | ||
| 4 | |||
| 3 | * gnus-art.el (article-treat-non-ascii): Use put-char-table instead of | 5 | * gnus-art.el (article-treat-non-ascii): Use put-char-table instead of |
| 4 | set-char-table-range for XEmacs. | 6 | set-char-table-range for XEmacs. |
| 5 | 7 | ||
diff --git a/lisp/gnus/rfc2047.el b/lisp/gnus/rfc2047.el index 8a7153969a5..51eef88dadc 100644 --- a/lisp/gnus/rfc2047.el +++ b/lisp/gnus/rfc2047.el | |||
| @@ -346,13 +346,9 @@ The buffer may be narrowed." | |||
| 346 | ;; it appears to be the cleanest way. | 346 | ;; it appears to be the cleanest way. |
| 347 | ;; Play safe and don't assume the form of the word syntax entry -- | 347 | ;; Play safe and don't assume the form of the word syntax entry -- |
| 348 | ;; copy it from ?a. | 348 | ;; copy it from ?a. |
| 349 | (if (fboundp 'set-char-table-range) ; Emacs | 349 | (if (featurep 'xemacs) |
| 350 | (funcall (intern "set-char-table-range") | 350 | (put-char-table t (get-char-table ?a (standard-syntax-table)) table) |
| 351 | table t (aref (standard-syntax-table) ?a)) | 351 | (set-char-table-range table t (aref (standard-syntax-table) ?a))) |
| 352 | (if (fboundp 'put-char-table) | ||
| 353 | (if (fboundp 'get-char-table) ; warning avoidance | ||
| 354 | (put-char-table t (get-char-table ?a (standard-syntax-table)) | ||
| 355 | table)))) | ||
| 356 | (modify-syntax-entry ?\\ "\\" table) | 352 | (modify-syntax-entry ?\\ "\\" table) |
| 357 | (modify-syntax-entry ?\" "\"" table) | 353 | (modify-syntax-entry ?\" "\"" table) |
| 358 | (modify-syntax-entry ?\( "(" table) | 354 | (modify-syntax-entry ?\( "(" table) |