From 8eb3f93748306099895837c184dea019454ae75b Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Sat, 20 Aug 2022 14:27:17 +0800 Subject: [PATCH] Fix wide docstring warnings * lisp/ob-core.el (org-babel-expand-noweb-references--cache-buffer): * lisp/org-src.el (org-edit-comment-block): Update docstrings. --- lisp/ob-core.el | 3 ++- lisp/org-src.el | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 0d9a0a99a3..c519015c57 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -2847,7 +2847,8 @@ CONTEXT may be one of :tangle, :export or :eval." (defvar org-babel-expand-noweb-references--cache nil "Noweb reference cache used during expansion.") (defvar org-babel-expand-noweb-references--cache-buffer nil - "Cons of (buffer . modified-tick) cached by `org-babel-expand-noweb-references--cache'.") + "Cons (buffer . modified-tick) for cached noweb references. +See `org-babel-expand-noweb-references--cache'.") (defun org-babel-expand-noweb-references (&optional info parent-buffer) "Expand Noweb references in the body of the current source code block. diff --git a/lisp/org-src.el b/lisp/org-src.el index e0cded9ed9..4089e71f06 100644 --- a/lisp/org-src.el +++ b/lisp/org-src.el @@ -1201,8 +1201,8 @@ Throw an error when not at an export block." A new buffer is created and the block is copied into it, and the buffer is switched into Org mode. -When done, exit with `\\[org-edit-src-exit]'. The edited text \ -will then replace the area in the Org mode buffer. +When done, exit with `\\[org-edit-src-exit]'. The edited text will +then replace the area in the Org mode buffer. Throw an error when not at a comment block." (interactive)