Rudolf Adamkovič <salu...@me.com> writes: > Agreed. Please, see the updated patch.
Oops, I dropped an important word in the commit message. Please see the third version of patch below. Rudy
>From c3896ead3e46d705bc4fbee143df87016fe70389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= <salu...@me.com> Date: Thu, 24 Nov 2022 22:10:29 +0100 Subject: [PATCH] ob-core: Remove the confusing "result silenced" message * lisp/ob-core.el (org-babel-execute-src-block): Do not say "result silenced" after executing the source blocks with `:results none' to avoid confusion with `:results silent'. --- lisp/ob-core.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 5f679a5e9..7abe62022 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -849,8 +849,7 @@ guess will be made." (setq result (org-babel-ref-resolve post)) (when file (setq result-params (remove "file" result-params)))))) - (if (member "none" result-params) - (message "result silenced") + (unless (member "none" result-params) (org-babel-insert-result result result-params info new-hash lang (time-subtract (current-time) exec-start-time)))) -- 2.38.1
-- "Programming reliably -- must be an activity of an undeniably mathematical nature […] You see, mathematics is about thinking, and doing mathematics is always trying to think as well as possible." -- Edsger W. Dijkstra, 1981 Rudolf Adamkovič <salu...@me.com> [he/him] Studenohorská 25 84103 Bratislava Slovakia