On 2008-04-21 18:01 +0200, Sven Joachim wrote:

> In emacs-snapshot¹ (as of 20080416-1), bitmap.el fails to byte-compile:
>
> bitmap.el:53:1:Error: Symbol's function definition is void: 
> update-coding-systems-internal

In the process of merging the unicode-2 branch, the
update-coding-systems-internal function vanished from the Emacs trunk
without a trace.  It's simply nowhere mentioned anymore, not even in the
Changelogs.

>From the comment in bitmap-ci.el it seems that
update-coding-systems-internal is called to work around a bug in Emacs
21, so there's hope that the following patch will cure the problem:


--8<---------------cut here---------------start------------->8---
--- bitmap-ci.el~       2007-12-07 23:20:02.000000000 +0100
+++ bitmap-ci.el        2008-04-22 22:10:45.000000000 +0200
@@ -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)))))
--8<---------------cut here---------------end--------------->8---


I'll investigate that in the next days, if I have time.

Sven



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to