Debian Codegraph @

debian/emacsen-startup

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