| 1 |
;;; 51semi.el --- Debian semi startup file -*-mode: emacs-lisp;-*- |
| 2 |
|
| 3 |
(let* ((pkg "semi") |
| 4 |
(flavor-name (if (boundp 'debian-emacs-flavor) |
| 5 |
(symbol-name debian-emacs-flavor) |
| 6 |
"emacs")) |
| 7 |
(pkg-inst (concat "/usr/lib/emacsen-common/packages/install/" pkg)) |
| 8 |
(elc-dir (concat "/usr/share/" flavor-name "/site-lisp/" pkg))) |
| 9 |
(when (and (file-exists-p elc-dir) |
| 10 |
(file-exists-p pkg-inst)) |
| 11 |
(if (fboundp 'debian-pkg-add-load-path-item) |
| 12 |
(debian-pkg-add-load-path-item elc-dir) |
| 13 |
(setq load-path (cons elc-dir load-path))) |
| 14 |
;; |
| 15 |
)) |
| 16 |
|
| 17 |
;;; 51semi.el ends here |