summarylogtreecommitdiffstats
path: root/emacs-flycheck-clojure.install
diff options
context:
space:
mode:
Diffstat (limited to 'emacs-flycheck-clojure.install')
-rw-r--r--emacs-flycheck-clojure.install27
1 files changed, 27 insertions, 0 deletions
diff --git a/emacs-flycheck-clojure.install b/emacs-flycheck-clojure.install
new file mode 100644
index 000000000000..6ec8266c24ff
--- /dev/null
+++ b/emacs-flycheck-clojure.install
@@ -0,0 +1,27 @@
+post_install () {
+
+cat << EOF
+
+==> Add this code to your .emacs file to use the mode:
+
+(require 'anzu)
+(global-anzu-mode +1)
+
+==> If you are using spaceline or another modeline modifier that
+ references anzu internally:
+
+(setq anzu-cons-mode-line-p nil))
+
+==> Or do the above with use-package:
+
+(use-package anzu
+ :config
+ (global-anzu-mode +1)
+ (setq anzu-cons-mode-line-p nil)) ;If using spaceline or the like
+
+EOF
+}
+
+post_upgrade () {
+ post_install $1
+}