Debian Codegraph @

debian/emacsen-startup

raw
1 ;; -*-emacs-lisp-*-
2 ;;
3 ;; Emacs startup file, e.g. /etc/emacs/site-start.d/50bbdb3.el
4 ;; for the Debian bbdb3 package
5 ;;
6 ;; Originally contributed by Nils Naumann <[email protected]>
7 ;; Modified by Dirk Eddelbuettel <[email protected]>
8 ;; Adapted for dh-make by Jim Van Zandt <[email protected]>
9 ;; Updated by Barak A. Pearlmutter <[email protected]>
10
11 ;; The bbdb3 package follows the Debian/GNU Linux 'emacsen' policy and
12 ;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
13 ;; xemacs19, emacs20, xemacs20...). The compiled code is then
14 ;; installed in a subdirectory of the respective site-lisp directory.
15 ;; We have to add this to the load-path:
16 (let ((package-dir (concat "/usr/share/"
17 (if (boundp 'debian-emacs-flavor)
18 (symbol-name debian-emacs-flavor)
19 "emacs")
20 "/site-lisp/bbdb3")))
21 ;; If package-dir does not exist the bbdb3 package must have been
22 ;; removed but not purged, and we should skip the setup.
23 (when (file-directory-p package-dir)
24 (debian-pkg-add-load-path-item package-dir)
25 (require 'bbdb-loaddefs)))