chiark / gitweb /
dot/emacs: Clean up the regexp for Debian `changelog' files.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 28 Mar 2013 00:02:38 +0000 (00:02 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 30 Mar 2013 20:17:40 +0000 (20:17 +0000)
The grouping and indentation was all over the place.  Sorry.

dot/emacs

index 54bb3250b6fa9af33137937549c82fc15c43e41d..7c2e73f45e3dcf4b331a9374f600c6ba9fad5ee2 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
@@ -46,8 +46,8 @@
      (add-to-list 'auto-mode-alist
                  `(,(concat "/debian/"
                               "\\("
-                                "[" "[:lower:][:digit:]]"
-                                    "[[:lower:][:digit:].+-" "]+"
+                                "[" "[:lower:]" "[:digit:]" "]"
+                                "[" "[:lower:]" "[:digit:]" ".+-" "]+"
                                 "\\."
                               "\\)?"
                               "changelog\\'")