Skip to content

Commit

Permalink
Reformat prompt / actions paragraph in README
Browse files Browse the repository at this point in the history
  • Loading branch information
stevemolitor committed Mar 30, 2024
1 parent f7d4f2b commit 635dc0f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.org
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,10 @@ The ~:grounding-fns~ option takes either a list of grounding functions that will
be executed in order, or a single grounding function as shown above.

** A More Involved Example
The prompt or action options can do more than just operate on the selected region. For example, the ~robby-git-commit-message~ function invokes a shell command to get the list of staged changes in a git repository and generates a one-line git commit message:
The prompt or action options can do more than just operate on the
selected region. For example, the ~robby-git-commit-message~ function
invokes a shell command to get the list of staged changes in a git
repository and generates a one-line git commit message:

#+begin_src emacs-lisp
(cl-defun robby-get-prompt-from-git-diff (&key prompt-prefix &allow-other-keys)
Expand Down

0 comments on commit 635dc0f

Please sign in to comment.