From c16723baa7b85391caeedfa735ca6433eb1acc1e Mon Sep 17 00:00:00 2001 From: Uri Sharf Date: Tue, 7 Jul 2015 16:15:46 +0200 Subject: [PATCH] Activate clojure-mode for *.boot files --- contrib/!lang/clojure/packages.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/!lang/clojure/packages.el b/contrib/!lang/clojure/packages.el index 7778613ea..ea6c992d6 100644 --- a/contrib/!lang/clojure/packages.el +++ b/contrib/!lang/clojure/packages.el @@ -236,6 +236,10 @@ the focus." (defun clojure/init-clojure-mode () (use-package clojure-mode :defer t + :init + (progn + (add-to-list 'auto-mode-alist '("\\.boot\\'" . clojure-mode)) + (add-to-list 'magic-mode-alist '(".* boot" . clojure-mode))) :config (progn (when clojure-enable-fancify-symbols