blob: 11f72234dc06a9cbb33d85a2e52c02e7296d900e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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))
==> Unlike python-mode, this mode follows the Emacs convention of not
binding the ENTER key to `newline-and-indent'. To get this
behavior, add the key definition to `yaml-mode-hook':
(add-hook 'yaml-mode-hook
'(lambda ()
(define-key yaml-mode-map "\C-m" 'newline-and-indent)))
EOF
}
post_upgrade () {
post_install $1
}
|