diff options
| author | ShengHuo ZHU | 2000-12-19 21:59:48 +0000 |
|---|---|---|
| committer | ShengHuo ZHU | 2000-12-19 21:59:48 +0000 |
| commit | 3df3ee3549e1eefc2b2bfdc718170f598f0cbb5d (patch) | |
| tree | a062096e8376c74e50b6a78cea4f3ae7df596bb0 /lisp | |
| parent | d925df900a6590c0353cb95c3f92557c1c2448d7 (diff) | |
| download | emacs-3df3ee3549e1eefc2b2bfdc718170f598f0cbb5d.tar.gz emacs-3df3ee3549e1eefc2b2bfdc718170f598f0cbb5d.zip | |
2000-12-19 ShengHuo ZHU <zsh@cs.rochester.edu>
* mm-util.el (mm-charset-synonym-alist): Fix a typo.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/gnus/mm-util.el | 14 |
2 files changed, 11 insertions, 7 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 9ef215ab2c7..00f5cb5b345 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2000-12-19 ShengHuo ZHU <zsh@cs.rochester.edu> | ||
| 2 | |||
| 3 | * mm-util.el (mm-charset-synonym-alist): Fix a typo. | ||
| 4 | |||
| 1 | 2000-12-18 Gerd Moellmann <gerd@gnu.org> | 5 | 2000-12-18 Gerd Moellmann <gerd@gnu.org> |
| 2 | 6 | ||
| 3 | * *.xpm, *.pbm: Convert icons icons to size 24x24. | 7 | * *.xpm, *.pbm: Convert icons icons to size 24x24. |
diff --git a/lisp/gnus/mm-util.el b/lisp/gnus/mm-util.el index a970877ace1..95f0d93602e 100644 --- a/lisp/gnus/mm-util.el +++ b/lisp/gnus/mm-util.el | |||
| @@ -121,21 +121,21 @@ | |||
| 121 | (or mm-coding-system-list | 121 | (or mm-coding-system-list |
| 122 | (setq mm-coding-system-list (mm-coding-system-list)))) | 122 | (setq mm-coding-system-list (mm-coding-system-list)))) |
| 123 | 123 | ||
| 124 | (defun mm-coding-system-p (sym) | ||
| 125 | "Return non-nil if SYM is a coding system." | ||
| 126 | (or (and (fboundp 'coding-system-p) (coding-system-p sym)) | ||
| 127 | (memq sym (mm-get-coding-system-list)))) | ||
| 128 | |||
| 124 | (defvar mm-charset-synonym-alist | 129 | (defvar mm-charset-synonym-alist |
| 125 | `((big5 . cn-big5) | 130 | `((big5 . cn-big5) |
| 126 | (gb2312 . cn-gb-2312) | 131 | (gb2312 . cn-gb-2312) |
| 127 | ;; Windows-1252 is actually a superset of Latin-1. See also | 132 | ;; Windows-1252 is actually a superset of Latin-1. See also |
| 128 | ;; `gnus-article-dumbquotes-map'. | 133 | ;; `gnus-article-dumbquotes-map'. |
| 129 | (unless (mm-coding-system-p 'windows-1252) ; should be defined eventually | 134 | ,(unless (mm-coding-system-p 'windows-1252) ; should be defined eventually |
| 130 | (windows-1252 . iso-8859-1)) | 135 | '(windows-1252 . iso-8859-1)) |
| 131 | (x-ctext . ctext)) | 136 | (x-ctext . ctext)) |
| 132 | "A mapping from invalid charset names to the real charset names.") | 137 | "A mapping from invalid charset names to the real charset names.") |
| 133 | 138 | ||
| 134 | (defun mm-coding-system-p (sym) | ||
| 135 | "Return non-nil if SYM is a coding system." | ||
| 136 | (or (and (fboundp 'coding-system-p) (coding-system-p sym)) | ||
| 137 | (memq sym (mm-get-coding-system-list)))) | ||
| 138 | |||
| 139 | (defvar mm-binary-coding-system | 139 | (defvar mm-binary-coding-system |
| 140 | (cond | 140 | (cond |
| 141 | ((mm-coding-system-p 'binary) 'binary) | 141 | ((mm-coding-system-p 'binary) 'binary) |