[sepia] 40/63: Use debian-pkg-add-load-path-item on startup, as demanded by policy.

Hilko Bengen bengen at moszumanska.debian.org
Sat Aug 8 11:20:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch master
in repository sepia.

commit af42fc3ecef37e64112533f6ac14a359ebaf0d19
Author: Hilko Bengen <bengen at debian.org>
Date:   Thu May 20 22:55:39 2010 +0200

    Use debian-pkg-add-load-path-item on startup, as demanded by policy.
---
 debian/emacsen-startup | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/emacsen-startup b/debian/emacsen-startup
index 7091088..4f4562e 100644
--- a/debian/emacsen-startup
+++ b/debian/emacsen-startup
@@ -3,9 +3,9 @@
                            (symbol-name flavor)
                            "/site-lisp/sepia")))
 
-;; If package-dir does not exist, the sepia package must have
-;; removed but not purged, and we should skip the setup.
+  ;; If package-dir does not exist, the sepia package must have
+  ;; removed but not purged, and we should skip the setup.
   (when (file-directory-p package-dir)
-    (setq load-path (cons package-dir load-path))
+    (debian-pkg-add-load-path-item package-dir)
     (autoload 'sepia-repl "sepia"
       "Start the Sepia REPL." t )))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/sepia.git



More information about the Pkg-perl-cvs-commits mailing list