;; -*- Mode: Emacs-Lisp -*- ; ; Redistribution of this file is permitted under the terms of the GNU ; Public License (GPL) ; (autoload 'yaml-mode "yaml-mode" nil t) (setq auto-mode-alist (append '(("\\.yml?\\'" . yaml-mode)) auto-mode-alist)) (add-hook 'yaml-mode-hook '(lambda () (define-key yaml-mode-map "\C-m" 'newline-and-indent)))