]> git.donarmstrong.com Git - xournal.git/blob - debian/emacsen-startup.ex
Add "GPL v2 or later" headers to the source files
[xournal.git] / debian / emacsen-startup.ex
1 ;; -*-emacs-lisp-*-
2 ;;
3 ;; Emacs startup file for the Debian xournal package
4 ;;
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>
8
9 ;; The xournal 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 (let ((package-dir (concat "/usr/share/"
15                            (symbol-name flavor)
16                            "/site-lisp/xournal")))
17   (when (file-directory-p package-dir)
18         (setq load-path (cons package-dir load-path))))
19