debian/emacsen-startup.ex
changeset 0 60e461ec0c89
equal deleted inserted replaced
-1:000000000000 0:60e461ec0c89
       
     1 ;; -*-emacs-lisp-*-
       
     2 ;;
       
     3 ;; Emacs startup file for the Debian havp-templates 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 havp-templates 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/havp-templates")))
       
    17   (when (file-directory-p package-dir)
       
    18         (setq load-path (cons package-dir load-path))))
       
    19