3 ;; Emacs startup file for the Debian bashdb package
5 ;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at>
6 ;; Modified by Dirk Eddelbuettel <edd@debian.org>
7 ;; Adapted for dh-make by Jim Van Zandt <jrv@vanzandt.mv.com>
9 ;; The bashdb package follows the Debian/GNU Linux 'emacsen' policy and
10 ;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
11 ;; xemacs19, emacs20, xemacs20...). The compiled code is then
12 ;; installed in a subdirectory of the respective site-lisp directory.
13 ;; We have to add this to the load-path:
14 (unless (eq flavor 'emacs20)
15 (let ((package-dir (concat "/usr/share/"
17 "/site-lisp/bashdb")))
18 (when (file-directory-p package-dir)
19 (setq load-path (cons package-dir load-path))))
20 (autoload 'bashdb "bashdb" "Run the bash debugger." t))