~ubuntu-branches/ubuntu/breezy/ecb/breezy

« back to all changes in this revision

Viewing changes to debian/emacsen-startup

  • Committer: Bazaar Package Importer
  • Author(s): Joerg Jaspert
  • Date: 2004-02-16 23:16:24 UTC
  • Revision ID: james.westby@ubuntu.com-20040216231624-8k4mdbqgkutpoq4q
Tags: 2.21-1
* New Upstream Version (Closes: #231773).
* Bug fix: "ecb: source dir on load path", thanks to Ian Zimmerman
  (Closes: #223811).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
;; -*-emacs-lisp-*-
 
2
;;
 
3
;; Emacs startup file for the Debian GNU/Linux ecb 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 ecb 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
(cond
 
15
 ((file-exists-p "/usr/share/emacs/site-lisp/ecb/ecb.el")
 
16
  (setq load-path (cons (concat "/usr/share/"
 
17
                                (symbol-name flavor)
 
18
                                "/site-lisp/ecb") load-path))
 
19
  (setq ecb-help-html-path "/usr/share/doc/ecb/html/ecb.html")
 
20
  (setq ecb-help-info-path "/usr/share/info/ecb.info.gz")
 
21
  (require 'ecb-autoloads)))
 
22