From b77a209f78809f73d42cc13c743ea1f425b5812d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Engdeg=C3=A5rd?= Date: Sun, 9 Apr 2023 15:27:28 +0200 Subject: [PATCH] Backport commit 4f0849a9e from Emacs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * lisp/ob-core.el (org-babel-insert-result): Silence ignored-return-value warnings about calls to side-effect-free functions in the last clause of `cond` statements whose values are unused. Remove unused values in effect context 4f0849a9e6d29e25d23e061bd81bacce9468856d Mattias EngdegÄrd Sun Apr 9 16:45:40 2023 +0200 --- lisp/ob-core.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 3f6696fce..e69ce4f1d 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -2426,7 +2426,8 @@ INFO may provide the values of these header arguments (in the (delete-region (point) (org-babel-result-end))) ((member "append" result-params) (goto-char (org-babel-result-end)) (setq beg (point-marker))) - ((member "prepend" result-params))) ; already there + ;; ((member "prepend" result-params)) ; already there + ) (setq results-switches (if results-switches (concat " " results-switches) "")) (let ((wrap