diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/+chicken.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/+chicken.el b/lisp/+chicken.el index ef5f616..55fc48e 100644 --- a/lisp/+chicken.el +++ b/lisp/+chicken.el | |||
@@ -12,7 +12,10 @@ | |||
12 | (save-buffer) | 12 | (save-buffer) |
13 | (condition-case e | 13 | (condition-case e |
14 | (url-retrieve-synchronously "http://localhost:8080/reload") | 14 | (url-retrieve-synchronously "http://localhost:8080/reload") |
15 | (file-error (message "Couldn't ping awful's server. Is it running?")) | 15 | (file-error (progn |
16 | (message "Couldn't ping awful's server. Starting...") | ||
17 | (start-process "awful" (generate-new-buffer "*awful*") | ||
18 | "awful" "--development-mode" (buffer-file-name)))) | ||
16 | (t (message "Some awful error occurred!")))) | 19 | (t (message "Some awful error occurred!")))) |
17 | 20 | ||
18 | (provide '+chicken) | 21 | (provide '+chicken) |