From 3238f557b19ce5beb77ea40934e55a4747f8066b Mon Sep 17 00:00:00 2001 From: morioka Date: Mon, 8 Jun 1998 06:54:59 +0000 Subject: [PATCH] (mime-edit-x-emacs-value): Check `enable-multibyte-characters' is bound or not. --- mime-edit.el | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/mime-edit.el b/mime-edit.el index c66b48e..e3e32e1 100644 --- a/mime-edit.el +++ b/mime-edit.el @@ -599,13 +599,15 @@ If it is not specified for a major-mode, (substring emacs-version 0 (match-beginning 0)) emacs-version))) (if (featurep 'mule) - (concat "Emacs " ver - (if enable-multibyte-characters - (concat ", MULE " mule-version) - " (with raw setting)") - (if (featurep 'meadow) - (concat ", " (Meadow-version)) - )) + (if (boundp 'enable-multibyte-characters) + (concat "Emacs " ver + (if enable-multibyte-characters + (concat ", MULE " mule-version) + " (with raw setting)") + (if (featurep 'meadow) + (concat ", " (Meadow-version)) + )) + (concat "MULE " mule-version " based on Emacs " ver)) ver))) "Body of X-Emacs field. If variable `mime-edit-insert-x-emacs-field' is not nil, it is -- 1.7.10.4