summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2012-05-21 14:59:12 -0700
committerRuss Allbery <eagle@eyrie.org>2014-04-13 18:20:58 -0700
commitea7c004707f8cbdddb161421d1832b150453e30c (patch)
treeade3acd8df1a6a6e97328773ce03e5d036836143 /ext
parent13f1e0da9191ba0bc07dac78d4a796a65c5ac534 (diff)
downloadpuppet-ea7c004707f8cbdddb161421d1832b150453e30c.tar.gz
(PUP-2237) Fix end of string in Emacs autoload for puppet-mode
Autoload file match patterns should end in \\' to match the actual end of string, not $ to match end of line, just in case file names contain newlines (not that this is horribly likely, but this is Emacs best practice).
Diffstat (limited to 'ext')
-rw-r--r--ext/emacs/puppet-mode-init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/emacs/puppet-mode-init.el b/ext/emacs/puppet-mode-init.el
index 9ac47fff6..5ee2ce71e 100644
--- a/ext/emacs/puppet-mode-init.el
+++ b/ext/emacs/puppet-mode-init.el
@@ -3,4 +3,4 @@
;;
(autoload 'puppet-mode "puppet-mode" "Major mode for editing puppet manifests")
-(add-to-list 'auto-mode-alist '("\\.pp$" . puppet-mode))
+(add-to-list 'auto-mode-alist '("\\.pp\\'" . puppet-mode))