File: emacsen-startup

package info (click to toggle)
flim 1:1.14.9+0.20120428-23
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,984 kB
  • sloc: lisp: 10,293; sh: 142; makefile: 111
file content (20 lines) | stat: -rw-r--r-- 730 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
;;; 50flim.el --- Debian flim startup file  -*-mode: emacs-lisp;-*-

(let* ((pkg "flim")
       (flavor-name (if (boundp 'debian-emacs-flavor)
			(symbol-name debian-emacs-flavor)
		      "emacs"))
       (pkg-inst (concat "/usr/lib/emacsen-common/packages/install/" pkg))
       (elc-dir (concat "/usr/share/" flavor-name "/site-lisp/" pkg)))
  (when (and (file-exists-p elc-dir)
	     (file-exists-p pkg-inst))
    (when (and (not (featurep 'mule))
	       (file-exists-p (concat elc-dir "/nomule")))
      (setq elc-dir (concat elc-dir "/nomule")))
    (if (fboundp 'debian-pkg-add-load-path-item)
	(debian-pkg-add-load-path-item elc-dir)
      (setq load-path (cons elc-dir load-path)))
    ;;
    ))

;;; 50flim.el ends here