diff options
author | Stefan Husmann | 2017-02-11 14:20:32 +0100 |
---|---|---|
committer | Stefan Husmann | 2017-02-11 14:20:32 +0100 |
commit | 262e11a5dce835083ba1a3d1279c981f74d717de (patch) | |
tree | ef6470c37578836edd2d88a7026178db32cbc930 | |
parent | 80a27dc4a9b5287e731d2ed596ffcee6299a4d7d (diff) | |
download | aur-262e11a5dce835083ba1a3d1279c981f74d717de.tar.gz |
alter install file
-rw-r--r-- | emacs-yaml-mode.install | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/emacs-yaml-mode.install b/emacs-yaml-mode.install index e8819e5971ea..11f72234dc06 100644 --- a/emacs-yaml-mode.install +++ b/emacs-yaml-mode.install @@ -6,14 +6,16 @@ cat << EOF (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 } - -op=$1 -shift -$op $* |