branch: elpa/yaml-mode commit 1cff904e9ed496b5c623aec1d755c1273e13c957 Author: Liangfu Chen <chen...@gmail.com> Commit: Vasilij Schneidermann <v.schneiderm...@gmail.com>
fix regex in adding yaml-mode to auto-mode-alist --- README | 2 +- yaml-mode.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index f2d6437..f095d9e 100644 --- a/README +++ b/README @@ -16,7 +16,7 @@ SYNOPSIS handle files ending in '.yml', add something like: (require 'yaml-mode) - (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode)) + (add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode)) to your .emacs file. diff --git a/yaml-mode.el b/yaml-mode.el index 39c0e57..f941c86 100644 --- a/yaml-mode.el +++ b/yaml-mode.el @@ -41,7 +41,7 @@ ;; handle files ending in '.yml', add something like: ;; ;; (require 'yaml-mode) -;; (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode)) +;; (add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode)) ;; ;; to your .emacs file. ;;