tags 353937 + patch
thanks

Here's a new /etc/emacs/site-start.d/50bbdb.el file to fix this bug.  I
have been using similar startup files for emacs-goodies-el, debian-el,
dpkg-dev-el, gri-el, mh-e, etc.

As a bonus, it uses `debian-pkg-add-load-path-item' instead of manually
adding to the load-path.

Thank,
-- 
Peter S. Galbraith, Debian Developer          <[EMAIL PROTECTED]>
                                 http://people.debian.org/~psg
GPG key 1024/D2A913A1 - 97CE 866F F579 96EE  6E68 8170 35FF 799E
;; bbdb startup file for Debian.

;; Modified by Peter S Galbraith <[EMAIL PROTECTED]> to skip loading when
;;  not ess is 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)))

Reply via email to