close
The Wayback Machine - https://web.archive.org/web/20200913022052/https://github.com/boot-clj/boot/wiki/For-Emacs-Users
Skip to content

For Emacs Users

Chiao edited this page Jun 9, 2015 · 2 revisions

In order for Emacs to recognise .boot files as valid Clojure source code, include the following in your .init file.

(add-to-list 'auto-mode-alist '("\\.boot\\'" . clojure-mode))

To recognize script files using shebang:

(add-to-list 'magic-mode-alist '(".* boot" . clojure-mode))
Clone this wiki locally
You can’t perform that action at this time.