blob: b0902dcc4fc0fac2fe06b6c9a618906b3d480093 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
;; bbdb startup file for Debian.
;; Modified by Peter S Galbraith <psg@debian.org> to skip loading when
;; bbdb is not fully installed, as this file still exists when the
;; package is removed but not purged.
(cond
((not (file-exists-p "/usr/share/emacs/site-lisp/bbdb"))
(message "Package bbdb removed but not purged. Skipping setup."))
((not (file-exists-p (concat "/usr/share/"
(symbol-name debian-emacs-flavor)
"/site-lisp/bbdb/bbdb-autoloads.elc")))
(message "Package bbdb not fully installed. Skipping setup."))
(t
(debian-pkg-add-load-path-item
(concat "/usr/share/" (symbol-name debian-emacs-flavor) "/site-lisp/bbdb"))
;; (require 'message)
;; http://bugs.debian.org/85019
(setq bbdb-sound-files nil)
(setq bbdb-sound-player nil)
(setq bbdb-sounds-directory nil)
;; (require 'bbdb)
;; (bbdb-initialize)
(require 'bbdb-autoloads)))
|