The following commit has been merged in the master branch:
commit b47ffaaf2e35721dabb5b7c59b2e1aacd84af642
Author: Ralf Treinen <trei...@free.fr>
Date:   Sun May 6 14:46:50 2012 +0200

    set emacs load-path using debian-pkg-add-load-path-item

diff --git a/debian/changelog b/debian/changelog
index 7cc3fce..ea4bf13 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,8 +7,11 @@ tuareg-mode (1:2.0.4-4) unstable; urgency=low
   * debian/control: drop starting article in short description
   * standards-version 3.9.3
     - debian/copyright: migrate to machine-readable format 1.0
-  
- -- Ralf Treinen <trei...@debian.org>  Sun, 06 May 2012 12:45:16 +0200
+  * debian/emacsen-setloadpath: use debian-pkg-add-load-path-item, instead
+    of explicit setting of the load-path variable, to extend the load path
+    (closes: # 671557).
+
+ -- Ralf Treinen <trei...@debian.org>  Sun, 06 May 2012 14:45:23 +0200
 
 tuareg-mode (1:2.0.4-3) unstable; urgency=low
 
diff --git a/debian/emacsen-setloadpath b/debian/emacsen-setloadpath
index 6b44a67..846ccbe 100644
--- a/debian/emacsen-setloadpath
+++ b/debian/emacsen-setloadpath
@@ -1,7 +1,6 @@
-
-(setq load-path
-      (cons
-       (concat "/usr/share/" (symbol-name flavor) "/site-lisp/tuareg-mode")
-       load-path))
+(debian-pkg-add-load-path-item
+ (concat "/usr/share/"
+        (symbol-name debian-emacs-flavor)
+        "/site-lisp/tuareg-mode"))
 
 

-- 
tuareg-mode packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to