Skip to content

Commit

Permalink
Add docstring to org-babel-prolog--answer-correction
Browse files Browse the repository at this point in the history
  • Loading branch information
lafrenierejm committed Mar 28, 2018
1 parent 9855c41 commit 8b574d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ob-prolog.el
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ Create SESSION if it does not already exist."
(buffer-string)))))))

(defun org-babel-prolog--answer-correction (string)
"If STRING is Prolog's \"Correct to:\" prompt, send a refusal."
(when (string-match-p "Correct to: \".*\"\\?" string)
(insert "no")
(comint-send-input nil t)))
Expand Down

0 comments on commit 8b574d0

Please sign in to comment.