Browse files

example showing how to configure emacs for running kibit on a single …

  • Loading branch information...
bostonaholic committed Mar 5, 2013
1 parent b9627f1 commit 88c6e934c6928c4b8131aa83e6aa67b415da8605
Showing with 5 additions and 0 deletions.
  1. +5 −0
@@ -50,6 +50,11 @@ Display the results in a hyperlinked *compilation* buffer."
(compile "lein kibit"))
+(defun kibit-current-file ()
+ "Run kibit on the current file.
+Display the results in a hyperlinked *compilation* buffer."
+ (interactive)
+ (compile (concat "lein kibit " buffer-file-name)))
This will give you a new command `M-x kibit RET`, and the properly

0 comments on commit 88c6e93

Please sign in to comment.