debian/emacsen-startup.ex
changeset 5 482b827bb2cd
parent 4 b37e229edb1d
child 6 e7973168471d
equal deleted inserted replaced
4:b37e229edb1d 5:482b827bb2cd
     1 ;; -*-emacs-lisp-*-
       
     2 ;;
       
     3 ;; Emacs startup file for the Debian send-config 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 send-config 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/send-config")))
       
    17   (when (file-directory-p package-dir)
       
    18         (setq load-path (cons package-dir load-path))))
       
    19