# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1599179237 14400 # Node ID 444105c995f1826879e7c98bb5455213b6844895 # Parent 0c58e4b3861d4acdf01b49ebc7c3865ecc58beeb automode-alist: update Mercurial commit message file regex diff --git a/dotemacs.el b/dotemacs.el --- a/dotemacs.el +++ b/dotemacs.el @@ -241,7 +241,7 @@ ("\\.php\\'" . web-mode) ;; Default php mode isn't as good ("\\.?hgrc\\'" . conf-mode) ("\\.spec\\'" . rpm-spec-mode) - ("hg-editor-.\\{6\\}\\.commit\\.hg\\.txt\\'" . diff-mode) + ("hg-editor-[a-z0-9A-Z]+.commit\\.hg\\.txt\\'" . diff-mode) ("evo[A-Z0-9]\\{6\\}\\'" . mail-mode)) auto-mode-alist))