bitmap-mule (8.5+0.20030825.0433-12) 010_update-cs.patch

Summary

 bitmap-ci.el |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

    
download this patch

Patch contents

Description: Check update-coding-systems-internal for Emacs 23
Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477177#15
Bug-Debian: http://bugs.debian.org/477177

--- bitmap-mule-200308250433/bitmap-ci.el	2001-12-18 17:52:19.000000000 +0900
+++ bitmap-mule-8.5+0.20030825.0433/bitmap-ci.el	2008-04-23 23:01:14.000000000 +0900
@@ -50,7 +50,8 @@
 	     "BITMAP" "BITMAP.8x16" "8x16 bitmap elements"])
 	;; `define-charset' won't call `update-coding-systems-internal'
 	;; if the released version of Emacs 21.1 is running.
-	(update-coding-systems-internal))
+	(if (fboundp 'update-coding-systems-internal)
+	    (update-coding-systems-internal)))
     (let ((alterable (and (charsetp bitmap-alterable-charset)
 			  (eq 2 (charset-dimension bitmap-alterable-charset))
 			  (eq 1 (charset-width bitmap-alterable-charset)))))