From 1ab6280001c8bd611b4634d1828e275280a2b108 Mon Sep 17 00:00:00 2001 From: psg <> Date: Sat, 5 Nov 2016 22:04:28 +0000 Subject: Bug fix: #712835 --- apt-sources.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apt-sources.el b/apt-sources.el index 023eab2..a3f0af1 100644 --- a/apt-sources.el +++ b/apt-sources.el @@ -6,7 +6,7 @@ ;; $Source: ;; Author: Dr. Rafael Sepúlveda. -;; Mantainer: Peter S. Galbraith +;; Maintainer: Peter S. Galbraith ;; (I can't find Dr. Rafael Sepúlveda) ;; Copyright (C) 2001-2003, Dr. Rafael Sepúlveda @@ -515,7 +515,8 @@ This function will rise an error if we are not on a source line." (run-hooks 'apt-sources-load-hook) -(add-to-list 'auto-mode-alist '("sources.list$" . apt-sources-mode)) +(add-to-list 'auto-mode-alist '("sources\\.list\\'" . apt-sources-mode)) +(add-to-list 'auto-mode-alist '("sources\\.list\\.d/.*\\.list\\'" . apt-sources-mode)) (provide 'apt-sources) ;;; apt-sources.el ends here -- cgit v1.2.3