summaryrefslogtreecommitdiff
path: root/debian-el.el
diff options
context:
space:
mode:
authorpsg <>2009-09-03 12:55:25 +0000
committerpsg <>2009-09-03 12:55:25 +0000
commit4e76eab4801004e3875cb6cf0d2b7d3c3ad51f45 (patch)
treecd28c929309645bce272ca19e0e5101fae78e75f /debian-el.el
parentb1c43a7ae1a231eb2768b364b8eee244432c2770 (diff)
perldoc.el: Updated to 1.7
htmlize.el: Updated to lastest upstream version. Bug fix: "htmlize-region complains about Invalid face", thanks to Eric Warmenhoven (Closes: #544593).
Diffstat (limited to 'debian-el.el')
-rw-r--r--debian-el.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian-el.el b/debian-el.el
index f791a1d..432c2ef 100644
--- a/debian-el.el
+++ b/debian-el.el
@@ -91,7 +91,8 @@ there's no buffer passed to coding system functions)."
(and (eq (car arg-list) 'insert-file-contents) ;; first arg
(consp (cadr arg-list)) ;; second arg like ("./control" . BUFFER)
(let ((buffer (cdr (cadr arg-list))))
- (and (string-match "\\.deb-INFO!\\./control\\'"
+ (and (buffer-file-name buffer)
+ (string-match "\\.deb-INFO!\\./control\\'"
(buffer-file-name buffer))
'utf-8))))