Bug#29270: dpkg-dev: 50dpkg-dev.el fixes
Package: dpkg-dev
Version: 1.4.0.31
This small patch to 50dpkg-dev.el fixes these things:
- It removes the hardcoding of debian-changelog.el's directory
so that the normal load path mechanism will be used to find it
(this fixes all the bugs which reported that debian-changelog.el
disappeared),
- it removes the ".el" suffix from the autoload command, so that
the normal emacs load functionality will take care of finding
either the .elc or .el variant, and
- it arranges to automatically put debian/changelog and debian/rules
files into the right mode.
--- 50dpkg-dev.el.~1~ Thu Oct 22 18:02:53 1998
+++ 50dpkg-dev.el Tue Nov 10 15:59:35 1998
@@ -4,5 +4,11 @@
;; Copyright (C) 1997, Klee Dienes <klee@mit.edu>
;; I hereby release this progam into the public domain.
-(autoload 'debian-changelog-mode "/usr/lib/emacs/site-lisp/debian-changelog-mode.el"
+(autoload 'debian-changelog-mode "debian-changelog-mode"
"Major mode for editing Debian-style change logs." t)
+
+; Automatically set mode for debian/changelog and debian/rules files.
+(setq auto-mode-alist (cons '("/debian/changelog\\'" . debian-changelog-mode)
+ auto-mode-alist)
+ interpreter-mode-alist (cons '("make" . makefile-mode)
+ interpreter-mode-alist))
-- System Information
Debian Release: slink
Kernel Version: Linux jones 2.0.35-jones.8 #1 Thu Oct 29 15:38:42 EST 1998 i686 unknown
Versions of the packages dpkg-dev depends on:
ii perl 5.004.04-6 Larry Wall's Practical Extracting and Report
Reply to: