Warning, /rolisteam/rolisteam-packaging/roliserver/linux/ubuntu/debian/emacsen-startup.ex is written in an unsupported language. File is not indexed.

0001 ;; -*-emacs-lisp-*-
0002 ;;
0003 ;; Emacs startup file, e.g.  /etc/emacs/site-start.d/50roliserver.el
0004 ;; for the Debian roliserver package
0005 ;;
0006 ;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at>
0007 ;; Modified by Dirk Eddelbuettel <edd@debian.org>
0008 ;; Adapted for dh-make by Jim Van Zandt <jrv@debian.org>
0009 
0010 ;; The roliserver package follows the Debian/GNU Linux 'emacsen' policy and
0011 ;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
0012 ;; xemacs19, emacs20, xemacs20...).  The compiled code is then
0013 ;; installed in a subdirectory of the respective site-lisp directory.
0014 ;; We have to add this to the load-path:
0015 (let ((package-dir (concat "/usr/share/"
0016                            (symbol-name flavor)
0017                            "/site-lisp/roliserver")))
0018 ;; If package-dir does not exist, the roliserver package must have
0019 ;; removed but not purged, and we should skip the setup.
0020   (when (file-directory-p package-dir)
0021     (setq load-path (cons package-dir load-path))
0022     (autoload 'roliserver-mode "roliserver-mode"
0023       "Major mode for editing roliserver files." t)
0024     (add-to-list 'auto-mode-alist '("\\.roliserver$" . roliserver-mode))))
0025