Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…file
  • Loading branch information...
commit 88c6e934c6928c4b8131aa83e6aa67b415da8605 1 parent b9627f1
@bostonaholic bostonaholic authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 README.md
View
5 README.md
@@ -50,6 +50,11 @@ Display the results in a hyperlinked *compilation* buffer."
(interactive)
(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
Please sign in to comment.
Something went wrong with that request. Please try again.