Public bug reported:

Binary package hint: erc

When loading erc 5.3-1ubuntu1 in Emacs 21, it fails with an error
regarding the unknown property 'min-colors'. If it's loaded a second
time then it goes through but a lot of faces don't get defined.

This is a compat bug. After fixing it with the following trivial patch,
it works just fine in Emacs 21.

--- erc-5.3.orig/erc.el
+++ erc-5.3/erc.el
@@ -1170,7 +1170,9 @@
 (defface erc-notice-face
   (if (featurep 'xemacs)
       '((t (:bold t :foreground "blue")))
-    '((((class color) (min-colors 88))
+    `((,(if (< emacs-major-version 22)
+           '((class color))
+         '((class color) (min-colors 88)))
        (:bold t :foreground "SlateBlue"))
       (t (:bold t :foreground "blue"))))
   "ERC face for notices."

** Affects: erc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Emacs 21 compat bug
https://bugs.launchpad.net/bugs/246865
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to