]> git.notmuchmail.org Git - notmuch/blob - debian/notmuch.emacsen-startup
merge changes from upstream
[notmuch] / debian / notmuch.emacsen-startup
1 ;; -*-emacs-lisp-*-
2 ;;
3 ;; Emacs startup file, e.g.  /etc/emacs/site-start.d/50notmuch.el
4 ;; for the Debian notmuch package
5 ;;
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>
9
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.
14
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
18    (concat
19     "/usr/share/" (symbol-name debian-emacs-flavor) "/site-lisp/notmuch"))