Skip to content
This repository
Browse code

2000-12-19 ShengHuo ZHU <zsh@cs.rochester.edu>

	* mm-util.el (mm-charset-synonym-alist): Fix a typo.
  • Loading branch information...
commit d0f02175541c814ff6d7686564741e1a9f3b01fb 1 parent a3d16e9
ShengHuo ZHU authored

Showing 2 changed files with 11 additions and 7 deletions. Show diff stats Hide diff stats

  1. +4 0 lisp/gnus/ChangeLog
  2. +7 7 lisp/gnus/mm-util.el
4 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 5 2000-12-18 Gerd Moellmann <gerd@gnu.org>
2 6
3 7 * *.xpm, *.pbm: Convert icons icons to size 24x24.
14 lisp/gnus/mm-util.el
@@ -121,21 +121,21 @@
121 121 (or mm-coding-system-list
122 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 129 (defvar mm-charset-synonym-alist
125 130 `((big5 . cn-big5)
126 131 (gb2312 . cn-gb-2312)
127 132 ;; Windows-1252 is actually a superset of Latin-1. See also
128 133 ;; `gnus-article-dumbquotes-map'.
129   - (unless (mm-coding-system-p 'windows-1252) ; should be defined eventually
130   - (windows-1252 . iso-8859-1))
  134 + ,(unless (mm-coding-system-p 'windows-1252) ; should be defined eventually
  135 + '(windows-1252 . iso-8859-1))
131 136 (x-ctext . ctext))
132 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 139 (defvar mm-binary-coding-system
140 140 (cond
141 141 ((mm-coding-system-p 'binary) 'binary)

0 comments on commit d0f0217

Please sign in to comment.
Something went wrong with that request. Please try again.