diff options
author | psg <> | 2016-11-05 22:04:28 +0000 |
---|---|---|
committer | psg <> | 2016-11-05 22:04:28 +0000 |
commit | 1ab6280001c8bd611b4634d1828e275280a2b108 (patch) | |
tree | 98da5d3b943cfe84e96b088e86479ac01a1de539 | |
parent | 8f2dc129a9fa66ea16392a7cbc93adde6f40de3a (diff) |
Bug fix: #712835
-rw-r--r-- | apt-sources.el | 5 |
1 files 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. <drs@gnulinux.org.mx> -;; Mantainer: Peter S. Galbraith <psg@debian.org> +;; Maintainer: Peter S. Galbraith <psg@debian.org> ;; (I can't find Dr. Rafael Sepúlveda) ;; Copyright (C) 2001-2003, Dr. Rafael Sepúlveda <drs@gnulinux.org.mx> @@ -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 |