org-babel-current-result-hash: Mark unused argument

* lisp/ob-core.el (org-babel-current-result-hash): Mark INFO argument
as unused.  `org-babel-where-is-src-block-results' does not use INFO
argument even when passed.
This commit is contained in:
Ihor Radchenko 2023-08-20 11:45:04 +03:00
parent f86a2fb726
commit 06714dea79
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 2 additions and 2 deletions

View File

@ -1465,9 +1465,9 @@ CONTEXT specifies the context of evaluation. It can be `:eval',
(when (called-interactively-p 'interactive) (message hash)) (when (called-interactively-p 'interactive) (message hash))
hash)))) hash))))
(defun org-babel-current-result-hash (&optional info) (defun org-babel-current-result-hash (&optional _info)
"Return the current in-buffer hash." "Return the current in-buffer hash."
(let ((result (org-babel-where-is-src-block-result nil info))) (let ((result (org-babel-where-is-src-block-result nil)))
(when result (when result
(org-with-point-at result (org-with-point-at result
(let ((case-fold-search t)) (looking-at org-babel-result-regexp)) (let ((case-fold-search t)) (looking-at org-babel-result-regexp))