~ubuntu-branches/ubuntu/trusty/haskell-mode/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/patches/0003-NEWS-loco.patch

  • Committer: Package Import Robot
  • Author(s): Barak A. Pearlmutter
  • Date: 2013-12-27 17:38:40 UTC
  • mfrom: (1.3.5)
  • Revision ID: package-import@ubuntu.com-20131227173840-5qjuscd4uj7ag382
Tags: 13.10-2
* build dependency on texinfo for /usr/bin/makeinfo (closes: #730955)
* no haskell-ghci.el breaking agda-mode (<< 2.3.2) (closes: #731326)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: "Barak A. Pearlmutter" <barak+git@cs.nuim.ie>
 
2
Date: Fri, 27 Dec 2013 16:34:14 +0100
 
3
Subject: NEWS loco
 
4
 
 
5
The file NEWS contains the change log.  The upstream package expects
 
6
it to be installed, under the name NEWS, to the directory in which
 
7
elisp files to be loaded are located.  This would be strange on
 
8
debian, since it is the upstream change log and hence belongs in the
 
9
standard documentation directory under the name changelog.gz.
 
10
---
 
11
 haskell-mode.el | 2 +-
 
12
 1 file changed, 1 insertion(+), 1 deletion(-)
 
13
 
 
14
diff --git a/haskell-mode.el b/haskell-mode.el
 
15
index b65543d..a882d7a 100644
 
16
--- a/haskell-mode.el
 
17
+++ b/haskell-mode.el
 
18
@@ -178,7 +178,7 @@ When MESSAGE is non-nil, display a message with the version."
 
19
 (defun haskell-mode-view-news ()
 
20
   "Display information on recent changes to haskell-mode."
 
21
   (interactive)
 
22
-  (with-current-buffer (find-file-read-only (expand-file-name "NEWS" haskell-mode-pkg-base-dir))
 
23
+  (with-current-buffer (find-file-read-only (expand-file-name "changelog.gz" "/usr/share/doc/haskell-mode/"))
 
24
     (goto-char (point-min))
 
25
     (hide-sublevels 1)
 
26
     (outline-next-visible-heading 1)