Skip to content

Commit

Permalink
Add documentation for auto-start
Browse files Browse the repository at this point in the history
  • Loading branch information
seblemaguer committed Dec 3, 2017
1 parent e3bf2e6 commit 3034149
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ Services can be defined by setting the variable `prodigy-services`:
(:prop value ...)))
```

#### Auto start services

You can auto start some services by setting the `auto-start` property
to `t`. Then you have **at the end of your prodigy configuration** call the function `(prodigy-auto-start)`

### Viewing process output

In the prodigy window, you can see a process' output with the `$` key.
Expand Down
4 changes: 2 additions & 2 deletions prodigy.el
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ started."


(defun prodigy-start-auto-start-service (service)
"Start service if indicated as auto-service."
"Start service if indicated as `auto-start'."
(interactive)
(prodigy-with-refresh
(when (plist-get service :auto-start)
Expand Down Expand Up @@ -1442,7 +1442,7 @@ beginning of the line."

;;;###autoload
(defun prodigy-auto-start ()
"Start service at line or marked services."
"Start services whose property `auto-start' is set to `t'."
(interactive)
(let ((saved-buffer (current-buffer))
(buffer-p (prodigy-buffer))
Expand Down

0 comments on commit 3034149

Please sign in to comment.