From 965713da81745fcbcf277f267e9b0f2f390a0cfa Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 5 Sep 2014 18:24:43 -0400 Subject: [PATCH] Add applescript-mode --- Cask | 2 ++ init/core-editor.el | 1 + 2 files changed, 3 insertions(+) diff --git a/Cask b/Cask index c59442631..ade95f899 100644 --- a/Cask +++ b/Cask @@ -95,3 +95,5 @@ (depends-on "git-rebase-mode") (depends-on "gitconfig-mode") (depends-on "gitignore-mode") + +(depends-on "applescript-mode") diff --git a/init/core-editor.el b/init/core-editor.el index 1484883a8..7ddb1c233 100644 --- a/init/core-editor.el +++ b/init/core-editor.el @@ -13,6 +13,7 @@ (add-to-list 'auto-mode-alist '("zsh\\(env\\|rc\\)?\\'" . shell-script-mode)) (add-to-list 'auto-mode-alist '("z\\(profile\\|login\\|logout\\)?\\'" . shell-script-mode)) (add-to-list 'auto-mode-alist '("zsh/" . shell-script-mode)) +(add-to-list 'auto-mode-alist '("\\.applescript$" . applescript-mode)) (add-hook 'text-mode-hook 'enable-hard-wrap) (add-hook 'prog-mode-hook 'enable-comment-hard-wrap)