Merge pull request #75 from bostonaholic/master
Run kibit on a single file within Emacs
This commit is contained in:
commit
0e67ee2d4b
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue