Skip to content
Browse files

remove blank lines

  • Loading branch information...
1 parent 7d4c8a5 commit d266cd64b6c516be69468369d29e637fc4e3089d @tonini committed Nov 24, 2013
Showing with 0 additions and 10 deletions.
  1. +0 −10 elixir-mix.el
View
10 elixir-mix.el
@@ -136,27 +136,20 @@
(defvar elixir-mix--local-install-option-types '("path" "url")
"List of local.install option types.")
-
-
(defun elixir-mix--compilation-kill-any-orphan-proc ()
"Ensure any dangling buffer process is killed."
(let ((orphan-proc (get-buffer-process (buffer-name))))
(when orphan-proc
(kill-process orphan-proc))))
-
(define-compilation-mode elixir-mix-compilation-mode "ElixirMix"
"Mix compilation mode."
(progn
-
(font-lock-add-keywords nil
'(("0 failures" . compilation-info-face)
("\[[:digit:]]+ failures" . compilation-error-face)
("^Finished in .*$" . font-lock-string-face)
("^ElixirMix.*$" . font-lock-string-face)))
-
-
-
;; Set any bound buffer name buffer-locally
(setq elixir-mix--compilation-buffer-name elixir-mix--compilation-buffer-name)
(set (make-local-variable 'kill-buffer-hook)
@@ -178,7 +171,6 @@ It walking the directory tree until it finds a elixir project root indicator."
(split-string command)
command)))))
-
(defun elixir-mix-task-runner (name cmdlist)
"In a buffer identified by NAME, run CMDLIST in `elixir-mix-compilation-mode'.
Returns the compilation buffer."
@@ -229,7 +221,6 @@ Returns the compilation buffer."
(error "The given file doesn't exists"))
(elixir-mix-execute (list "test" (expand-file-name filename))))
-
(defun elixir-mix-compile (command)
"Compile the whole elixir project."
(interactive "Mmix compile: ")
@@ -294,7 +285,6 @@ Returns the compilation buffer."
(elixir-mix-task-runner elixir-mix-buffer-name
(elixir-mix--build-runner-cmdlist command))
(cd old-directory)))
-
;;;###autoload
(define-minor-mode global-elixir-mix-mode

0 comments on commit d266cd6

Please sign in to comment.
Something went wrong with that request. Please try again.