Marc Nieper-Wißkirchen <m...@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>