aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2002-05-14 10:16:42 +0000
committerDave Love2002-05-14 10:16:42 +0000
commit209c73b03e1e7c587db8fb70d0ed3fe1503b8d4f (patch)
tree15b72787b6dd07ce48d05b5912c9b2aec84029ee
parent48728c92adb111ec8dde17ab0c045a4eece6ec32 (diff)
downloademacs-209c73b03e1e7c587db8fb70d0ed3fe1503b8d4f.tar.gz
emacs-209c73b03e1e7c587db8fb70d0ed3fe1503b8d4f.zip
(sort-coding-systems)
(select-safe-coding-system, select-message-coding-system): Use :mime-charset, not 'mime-charset.
-rw-r--r--lisp/international/mule-cmds.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index ee63c68489a..dde728f419d 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -387,7 +387,7 @@ non-nil, it is used to sort CODINGS in the different way than above."
387 (lambda (x) 387 (lambda (x)
388 (let ((base (coding-system-base x))) 388 (let ((base (coding-system-base x)))
389 (+ (if (eq base most-preferred) 64 0) 389 (+ (if (eq base most-preferred) 64 0)
390 (let ((mime (coding-system-get base 'mime-charset))) 390 (let ((mime (coding-system-get base :mime-charset)))
391 (if mime 391 (if mime
392 (if (string-match "^x-" (symbol-name mime)) 392 (if (string-match "^x-" (symbol-name mime))
393 16 32) 393 16 32)
@@ -580,7 +580,7 @@ and TO is ignored."
580 base) 580 base)
581 (and (coding-system-p preferred) 581 (and (coding-system-p preferred)
582 (setq base (coding-system-base preferred)) 582 (setq base (coding-system-base preferred))
583 (coding-system-get preferred 'mime-charset) 583 (coding-system-get preferred :mime-charset)
584 (not (assq preferred default-coding-system)) 584 (not (assq preferred default-coding-system))
585 (not (rassq base default-coding-system)) 585 (not (rassq base default-coding-system))
586 (setq default-coding-system 586 (setq default-coding-system
@@ -613,7 +613,7 @@ and TO is ignored."
613 (let ((l codings) 613 (let ((l codings)
614 mime-charset) 614 mime-charset)
615 (while l 615 (while l
616 (setq mime-charset (coding-system-get (car l) 'mime-charset)) 616 (setq mime-charset (coding-system-get (car l) :mime-charset))
617 (if (and mime-charset (coding-system-p mime-charset)) 617 (if (and mime-charset (coding-system-p mime-charset))
618 (setcar l mime-charset)) 618 (setcar l mime-charset))
619 (setq l (cdr l)))) 619 (setq l (cdr l))))
@@ -708,12 +708,12 @@ it asks the user to select a proper coding system."
708 default-sendmail-coding-system 708 default-sendmail-coding-system
709 default-buffer-file-coding-system))) 709 default-buffer-file-coding-system)))
710 (if (eq coding 'no-conversion) 710 (if (eq coding 'no-conversion)
711 ;; We should never use no-conversion for outgoing mails. 711 ;; We should never use no-conversion for outgoing mail.
712 (setq coding nil)) 712 (setq coding nil))
713 (if (fboundp select-safe-coding-system-function) 713 (if (fboundp select-safe-coding-system-function)
714 (funcall select-safe-coding-system-function 714 (funcall select-safe-coding-system-function
715 (point-min) (point-max) coding 715 (point-min) (point-max) coding
716 (function (lambda (x) (coding-system-get x 'mime-charset)))) 716 (function (lambda (x) (coding-system-get x :mime-charset))))
717 coding))) 717 coding)))
718 718
719;;; Language support stuff. 719;;; Language support stuff.