Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up documentation #16

Merged
merged 13 commits into from
Mar 28, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add docstring to org-babel-prolog--exit-debug
  • Loading branch information
lafrenierejm committed Mar 28, 2018
commit 77b2d97aaaba27c77ab3a9d4e8d81655ccdf9a86
1 change: 1 addition & 0 deletions ob-prolog.el
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ Create SESSION if it does not already exist."
(comint-send-input nil t)))

(defun org-babel-prolog--exit-debug (string)
"If STRING indicates an exception, continue Prolog execution in no debug mode."
(when (string-match-p "\\(.\\|\n\\)*Exception.* \\? $" string)
(insert "no debug")
(comint-send-input nil t)))
Expand Down