Package: yc-el
Version: 4.0.13-4

If the yc-el package is removed but not purged, the startup file
/etc/emacs/site-start.d/50yc-el.el remains and it causes an error
when startup.

To reproduce:

----
# apt-get install yc-el
[...]
# apt-get remove yc-el
[...]
$ emacs21 -q -batch
Loading 00debian-vars...
Loading 20apel (source)...
Loading 40mule-ucs (source)...
[...]
Loading 50yc-el (source)...
Error while loading 50yc-el
----

The cause of this problem is that the startup file try to load
yc.elc even if the package is removed.

Please check the installed file in the startup file, as follows:

(let ((package-dir (concat "/usr/share/"
                           (symbol-name flavor)
                           "/site-lisp/yc-el")))
  (if (not (file-exists-p (concat package-dir "/yc.elc")))
      () ;; Not found
    ;; Found
[...]
    ))

Thanks,
--
Tatsuya Kinoshita

Attachment: pgpZ74KrSOUGL.pgp
Description: PGP signature

Reply via email to