~ubuntu-branches/ubuntu/precise/emacs-goodies-el/precise-proposed

« back to all changes in this revision

Viewing changes to elisp/dpkg-dev-el/debian-copyright.el

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2010-11-12 18:45:23 UTC
  • mfrom: (4.1.22 sid)
  • Revision ID: james.westby@ubuntu.com-20101112184523-94acid3rtwowwsq1
Tags: 34.1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Add {hardy,jaunty,karmic,lucid,maverick}-proposed distribution targets
    to dpkg-dev-el.
  - Add natty{,-proposed} distribution targets; drop out the maverick
    non-proposed target, since uploads to the release pocket are not
    permitted for stable releases.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
(require 'debian-changelog-mode)
22
22
 
23
23
;;; Code:
24
 
(add-to-list 'auto-mode-alist '("debian/copyright$" . debian-copyright-mode))
25
 
(add-to-list 'auto-mode-alist '("^/usr/share/doc/.*/copyright" . debian-copyright-mode))
26
24
 
27
25
(defgroup debian-copyright nil "Debian copyright mode"
28
26
  :group 'tools
39
37
  :type 'hook
40
38
  :options '(turn-on-auto-fill flyspell-mode))
41
39
 
42
 
(defconst debian-copyright-mode-version "$Id: debian-copyright.el,v 1.4 2003/11/04 02:07:56 psg Exp $" "Version of debian copyright mode.")
 
40
(defconst debian-copyright-mode-version "$Id: debian-copyright.el,v 1.5 2010-07-28 15:33:45 psg Exp $" "Version of debian copyright mode.")
43
41
 
44
42
(defvar debian-copyright-mode-map nil
45
43
  "Keymap for debian/copyright mode.")
84
82
          ))
85
83
  (run-hooks 'debian-copyright-mode-hook))
86
84
 
87
 
(add-to-list 'auto-mode-alist '("debian/.*copyright$" . debian-copyright-mode))
88
 
(add-to-list 'auto-mode-alist
89
 
             '("^/usr/share/doc/.*/copyright" . debian-copyright-mode))
90
 
;;;###autoload(add-to-list 'auto-mode-alist '("debian/.*copyright$" . debian-copyright-mode))
91
 
;;;###autoload(add-to-list 'auto-mode-alist '("^/usr/share/doc/.*/copyright" . debian-copyright-mode))
 
85
 
 
86
;;;###autoload
 
87
(add-to-list 'auto-mode-alist
 
88
             '("debian/.*copyright\\'" . debian-copyright-mode))
 
89
;;;###autoload
 
90
(add-to-list 'auto-mode-alist
 
91
             '("\\`/usr/share/doc/.*/copyright" . debian-copyright-mode))
92
92
 
93
93
(run-hooks 'debian-copyright-mode-load-hook)
94
94