Skip to content

Commit

Permalink
[hg-commit-mode] Fine tune autoload regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
rosslagerwall committed Dec 12, 2012
1 parent b1d5eae commit a4d3004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hg-commit.el
Expand Up @@ -224,7 +224,7 @@ Turning on hg commit calls the hooks in `hg-commit-mode-hook'."
;;;###autoload
(setq auto-mode-alist
(append
'(("/tmp/hg-editor-.*\.txt" . hg-commit-mode))
'(("^/tmp/hg-editor-.*\.txt$" . hg-commit-mode))
auto-mode-alist))

(provide 'hg-commit)
Expand Down

0 comments on commit a4d3004

Please sign in to comment.