3 ;; Emacs startup file, e.g. /etc/emacs/site-start.d/50notmuch.el
4 ;; for the Debian notmuch package
6 ;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at>
7 ;; Modified by Dirk Eddelbuettel <edd@debian.org>
8 ;; Adapted for dh-make by Jim Van Zandt <jrv@debian.org>
10 ;; The notmuch package follows the Debian/GNU Linux 'emacsen' policy and
11 ;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
12 ;; xemacs19, emacs20, xemacs20...). The compiled code is then
13 ;; installed in a subdirectory of the respective site-lisp directory.
15 (if (not (file-exists-p "/usr/share/emacs/site-lisp/notmuch"))
16 (message "Package notmuch removed but not purged. Skipping setup.")
17 (debian-pkg-add-load-path-item
19 "/usr/share/" (symbol-name debian-emacs-flavor) "/site-lisp/notmuch"))