diff options
Diffstat (limited to 'emacs-yaml-mode.install')
-rw-r--r-- | emacs-yaml-mode.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/emacs-yaml-mode.install b/emacs-yaml-mode.install new file mode 100644 index 000000000000..e8819e5971ea --- /dev/null +++ b/emacs-yaml-mode.install @@ -0,0 +1,19 @@ +post_install () { + +cat << EOF + +==> Add this code to your .emacs file to use the mode: + +(require 'yaml-mode) +(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode)) + +EOF +} + +post_upgrade () { + post_install $1 +} + +op=$1 +shift +$op $* |