Debian Codegraph @

3rdparty/toluapp/debian/emacsen-startup.ex

raw
1 ;; -*-emacs-lisp-*-
2 ;;
3 ;; Emacs startup file for the Debian tolua++ package
4 ;;
5 ;; Originally contributed by Nils Naumann <[email protected]>
6 ;; Modified by Dirk Eddelbuettel <[email protected]>
7 ;; Adapted for dh-make by Jim Van Zandt <[email protected]>
8
9 ;; The tolua++ 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/tolua++")))
17 (when (file-directory-p package-dir)
18 (setq load-path (cons package-dir load-path))))
19