[SCM] ecasound/master: Use debian-pkg-add-load-path-item in emacsen startup script
ghedo at users.alioth.debian.org
ghedo at users.alioth.debian.org
Wed May 9 10:00:43 UTC 2012
The following commit has been merged in the master branch:
commit 34ec7b7dd06d66455e869b4af3556bdd8e05c964
Author: Alessandro Ghedini <al3xbio at gmail.com>
Date: Wed May 9 11:15:39 2012 +0200
Use debian-pkg-add-load-path-item in emacsen startup script
Closes: #671551
diff --git a/debian/ecasound-el.emacsen-startup b/debian/ecasound-el.emacsen-startup
index f41f011..d48f664 100644
--- a/debian/ecasound-el.emacsen-startup
+++ b/debian/ecasound-el.emacsen-startup
@@ -1,21 +1,11 @@
;; -*-emacs-lisp-*-
;;
-;; Emacs startup file for the Debian GNU/Linux ecasound-el package
-;;
-;; Originally contributed by Nils Naumann <naumann at unileoben.ac.at>
-;; Modified by Dirk Eddelbuettel <edd at debian.org>
-;; Adapted for dh-make by Jim Van Zandt <jrv at vanzandt.mv.com>
-;; modified for ecasound-el by Junichi Uekawa <dancer at netfort.gr.jp>, 11 Jan 2003.
+;; Emacs startup file for the Debian ecasound-el package
+
+(debian-pkg-add-load-path-item
+ (concat "/usr/share/"
+ (symbol-name debian-emacs-flavor)
+ "/site-lisp/ecasound-el"))
-;; The ecasound-el package follows the Debian/GNU Linux 'emacsen' policy and
-;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
-;; xemacs19, emacs20, xemacs20...). The compiled code is then
-;; installed in a subdirectory of the respective site-lisp directory.
-;; We have to add this to the load-path:
-(setq load-path
- (nconc load-path
- (list (concat "/usr/share/"
- (symbol-name flavor)
- "/site-lisp/ecasound-el"))))
(autoload 'ecasound "ecasound" "Run an inferior ecasound, with I/O through BUFFER." t)
(autoload 'ecasound-ewf-mode "ecasound" "A major mode for editing ecasound .ewf files." t)
--
ecasound packaging
More information about the pkg-multimedia-commits
mailing list