X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2Femacsen-startup.ex;fp=debian%2Femacsen-startup.ex;h=7e3799c32bf31819298b33fab76b5dd8f5277522;hb=0fbadaf2b5198ac58126e64042e21e0e0436e1c6;hp=0000000000000000000000000000000000000000;hpb=d3acd8751bbbff3a96464bf8077e090f6dbbd63a;p=xournal.git diff --git a/debian/emacsen-startup.ex b/debian/emacsen-startup.ex new file mode 100644 index 0000000..7e3799c --- /dev/null +++ b/debian/emacsen-startup.ex @@ -0,0 +1,19 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for the Debian xournal package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The xournal package follows the Debian/GNU Linux 'emacsen' policy and +;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, +;; xemacs19, emacs20, xemacs20...). The compiled code is then +;; installed in a subdirectory of the respective site-lisp directory. +;; We have to add this to the load-path: +(let ((package-dir (concat "/usr/share/" + (symbol-name flavor) + "/site-lisp/xournal"))) + (when (file-directory-p package-dir) + (setq load-path (cons package-dir load-path)))) +