Commit bf589c3b authored by David Byers's avatar David Byers
Browse files

Fixed some incompatibility with unibyte Emacsen. Needs more testing.

parent e4a38d0b
2002-09-10 David Byers <david.byers@swipnet.se>
* mime.el (lyskom-mime-string-charset): Deal with not having any
coding systems at all (happens in non-multibyte emacsen).
2002-09-10 Joel Rosdahl <joel@rosdahl.net> 2002-09-10 Joel Rosdahl <joel@rosdahl.net>
* swedish-strings.el, english-strings.el: Fixed typos and * swedish-strings.el, english-strings.el: Fixed typos and
......
...@@ -79,9 +79,11 @@ ...@@ -79,9 +79,11 @@
(lyskom-xemacs-or-gnu (lyskom-xemacs-or-gnu
lyskom-server-coding-system lyskom-server-coding-system
(let ((coding (find-coding-systems-for-charsets cs))) (let ((coding (find-coding-systems-for-charsets cs)))
(while (null (coding-system-get (car coding) 'mime-charset)) (while (and (car coding)
(null (coding-system-get (car coding) 'mime-charset)))
(setq coding (cdr coding))) (setq coding (cdr coding)))
(coding-system-get (car coding) 'mime-charset))) (and (car coding)
(coding-system-get (car coding) 'mime-charset))))
lyskom-server-coding-system))) lyskom-server-coding-system)))
(defun lyskom-mime-charset-coding-system (charset) (defun lyskom-mime-charset-coding-system (charset)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment