[Pkg-golang-commits] [SCM] Packaging for Google Go branch, debian-sid, updated. debian/2%1.0.2-1-3-g1e6e66a

Michael Stapelberg michael at stapelberg.de
Thu Jun 14 19:41:57 UTC 2012


The following commit has been merged in the debian-sid branch:
commit 1e6e66a018af7c49dcc526ff521f8cc6e15de597
Author: Michael Stapelberg <michael at stapelberg.de>
Date:   Sun May 13 20:57:46 2012 +0200

    golang-mode: use debian-pkg-add-load-path-item (Closes: #664802)

diff --git a/debian/control b/debian/control
index 35401cd..f4db47b 100644
--- a/debian/control
+++ b/debian/control
@@ -123,7 +123,7 @@ Description: Go programming language compiler - metapackage
 
 Package: golang-mode
 Architecture: all
-Depends: ${misc:Depends}, emacs23 | emacsen
+Depends: ${misc:Depends}, emacs23 | emacsen, emacsen-common (>= 1.4.14)
 Suggests: golang-go
 Description: Go programming language - mode for GNU Emacs
  This package provides a GNU Emacs major mode for editing code in
diff --git a/debian/golang-mode.emacsen-startup b/debian/golang-mode.emacsen-startup
index 378f11f..5565b9a 100644
--- a/debian/golang-mode.emacsen-startup
+++ b/debian/golang-mode.emacsen-startup
@@ -2,6 +2,6 @@
 
 (let ((path "/usr/share/emacs/site-lisp/golang-mode"))
   (when (file-exists-p path)
-    (add-to-list 'load-path path t)
+    (debian-pkg-add-load-path-item path)
     (require 'go-mode-load)))
 

-- 
Packaging for Google Go



More information about the Pkg-golang-commits mailing list