unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19506: 25.0.50; [PATCH] Use conf-mode for VC config files
@ 2015-01-04 18:22 Eduard Wiebe
  2015-04-19  1:37 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Eduard Wiebe @ 2015-01-04 18:22 UTC (permalink / raw)
  To: 19506


 Hi,

any concerns to add this tiny change?

* files.el (auto-mode-alist): Use `conf-mode' for Bzr, Git, and Hg
  config files.
---
 lisp/ChangeLog |    7 +++++++
 lisp/files.el  |    3 +++
 2 files changed, 10 insertions(+)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f62dc07..8f27b42 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
+2015-01-04  Eduard Wiebe  <usenet@pusto.de>
+
+	Use conf-mode for VC config files.
+
+	* files.el (auto-mode-alist): Use `conf-mode' for Bzr, Git, and Hg
+	config files.
+
 2015-01-04  Paul Eggert  <eggert@cs.ucla.edu>
 
 	Less 'make' chatter for lisp dir
diff --git a/lisp/files.el b/lisp/files.el
index 80b538c..44ef910 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2522,6 +2522,9 @@ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|7Z\\)\\'" . archive-mode)
      ("/config\\.\\(?:bat\\|log\\)\\'" . fundamental-mode)
      ;; Windows candidates may be opened case sensitively on Unix
      ("\\.\\(?:[iI][nN][iI]\\|[lL][sS][tT]\\|[rR][eE][gG]\\|[sS][yY][sS]\\)\\'" . conf-mode)
+     ("\\(?:\\.bzrignore\\|\\.bazaar/ignore\\)\\'" . conf-mode)
+     ("\\(?:\\.hgignore\\|\\.?hgrc\\)\\'" . conf-mode)
+     ("\\(?:\\.git\\(ignore\\|attributes\\)\\|\\.?gitconfig\\|\\.git/info/\\(?:exclude\\|attributes\\)\\)\\'" . conf-mode)
      ("\\.\\(?:desktop\\|la\\)\\'" . conf-unix-mode)
      ("\\.ppd\\'" . conf-ppd-mode)
      ("java.+\\.conf\\'" . conf-javaprop-mode)

--
Eduard Wiebe





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-19  1:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-04 18:22 bug#19506: 25.0.50; [PATCH] Use conf-mode for VC config files Eduard Wiebe
2015-04-19  1:37 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).