diff options
| author | Russ Allbery <eagle@eyrie.org> | 2012-05-21 14:59:12 -0700 |
|---|---|---|
| committer | Russ Allbery <eagle@eyrie.org> | 2014-04-13 18:20:58 -0700 |
| commit | ea7c004707f8cbdddb161421d1832b150453e30c (patch) | |
| tree | ade3acd8df1a6a6e97328773ce03e5d036836143 /ext | |
| parent | 13f1e0da9191ba0bc07dac78d4a796a65c5ac534 (diff) | |
| download | puppet-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.el | 2 |
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)) |
