From 744f492896dc0bb2726049d2e54b0db9988322c8 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Mon, 11 Jan 1999 11:16:35 +0000 Subject: [PATCH] * (message-draft-coding-system): Don't Call `coding-system-p'. Find its default value using `find-coding-system' instead. --- lisp/message.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/message.el b/lisp/message.el index dfd744a..59ea887 100644 --- a/lisp/message.el +++ b/lisp/message.el @@ -1035,10 +1035,10 @@ The cdr of ech entry is a function for applying the face to a region.") (defvar message-draft-coding-system (cond - ((not (fboundp 'coding-system-p)) nil) - ((coding-system-p 'emacs-mule) 'emacs-mule) - ((coding-system-p 'escape-quoted) 'escape-quoted) - ((coding-system-p 'no-conversion) 'no-conversion) + ((not (fboundp 'find-coding-system)) nil) + ((find-coding-system 'emacs-mule) 'emacs-mule) + ((find-coding-system 'escape-quoted) 'escape-quoted) + ((find-coding-system 'no-conversion) 'no-conversion) (t nil)) "Coding system to compose mail.") -- 1.7.10.4