3 ;; Emacs startup file for the Debian color-theme-el package
5 ;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at>
6 ;; Modified by Dirk Eddelbuettel <edd@debian.org>
7 ;; Adapted for dh-make by Jim Van Zandt <jrv@vanzandt.mv.com>
9 ;; Modifed by Xavier Maillard <zedek@gnu.org>
11 ;; The color-theme-el package follows the Debian/GNU Linux
12 ;; 'emacsen' policy and byte-compiles its elisp files for each 'emacs
13 ;; flavor' (emacs19, xemacs19, emacs20, xemacs20...). The compiled
14 ;; code is then installed in a subdirectory of the respective
15 ;; site-lisp directory. We have to add this to the load-path:
17 ((not (file-exists-p "/usr/share/emacs/site-lisp/color-theme-el"))
18 (message "Package color-theme-el removed but not purged. Skipping setup."))
19 ((not (file-exists-p (concat "/usr/share/"
20 (symbol-name debian-emacs-flavor)
21 "/site-lisp/color-theme-el/color-theme-autoloads.el")))
22 (message "Package color-theme-el not fully installed. Skipping setup."))
24 (when (fboundp 'debian-pkg-add-load-path-item)
25 (debian-pkg-add-load-path-item (concat "/usr/share/"
27 "/site-lisp/color-theme-el")))
29 (load "color-theme-autoloads.el")))