[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Babel (scheme): Evaluation errors are not shown
From: |
Ihor Radchenko |
Subject: |
Re: Babel (scheme): Evaluation errors are not shown |
Date: |
Sun, 01 Jan 2023 13:53:38 +0000 |
Marc Nieper-Wißkirchen <marc@nieper-wisskirchen.de> writes:
> (defun org-babel-eval-error-notify (exit-code stderr)
> - "Open a buffer to display STDERR and a message with the value of
> EXIT-CODE."
> + "Open a buffer to display STDERR and a message with the value of EXIT-CODE.
> +If EXIT-CODE is nil, suppress the message."
The docstring is not accurate now.
If EXIT-CODE is nil, the message is not suppressed.
> ...
> - (message "Babel evaluation exited with code %S" exit-code))
> + (if exit-code
> + (message "Babel evaluation exited with code %S" exit-code)
> + (message "Babel evaluation exited abnormally")))
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- Re: Babel (scheme): Evaluation errors are not shown,
Ihor Radchenko <=
- Re: Babel (scheme): Evaluation errors are not shown, Marc Nieper-Wißkirchen, 2023/01/01
- Re: Babel (scheme): Evaluation errors are not shown, Marc Nieper-Wißkirchen, 2023/01/05
- Re: Babel (scheme): Evaluation errors are not shown, Ihor Radchenko, 2023/01/06
- Re: Babel (scheme): Evaluation errors are not shown, Ihor Radchenko, 2023/01/06
- Re: Babel (scheme): Evaluation errors are not shown, tomas, 2023/01/06