Skip to content

Commit

Permalink
replace the private function
Browse files Browse the repository at this point in the history
  • Loading branch information
tonini committed Jan 26, 2015
1 parent babc92e commit 39bfe7d
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions overseer.el
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,6 @@
(defvar overseer-buffer-name "*overseer*"
"Name of the overseer buffer.")

;; Private functions

(defun overseer--build-runner-cmdlist (command)
"Build the arguments list for the runner with COMMAND."
(remove "" (-flatten
(list (if (stringp command)
(split-string command)
command)))))

(defvar overseer--buffer-name nil
"Used to store compilation name so recompilation works as expected.")
(make-variable-buffer-local 'overseer--buffer-name)
Expand All @@ -75,6 +66,13 @@

;; Private functions

(defun overseer--build-runner-cmdlist (command)
"Build the arguments list for the runner with COMMAND."
(remove "" (-flatten
(list (if (stringp command)
(split-string command)
command)))))

(defun overseer--handle-ansi-color ()
(ansi-color-apply-on-region (point-min) (point-max)))

Expand Down

0 comments on commit 39bfe7d

Please sign in to comment.