branch: externals/org
commit b1c507c0ee37580b807029b3d86bcc449c7fe217
Author: Ihor Radchenko <[email protected]>
Commit: Ihor Radchenko <[email protected]>

    org-find-base-buffer-visiting: Document function argument
    
    * lisp/org-macs.el (org-find-base-buffer-visiting): Fix the docstring.
---
 lisp/org-macs.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/org-macs.el b/lisp/org-macs.el
index 907e8bed7d..fd0f508c54 100644
--- a/lisp/org-macs.el
+++ b/lisp/org-macs.el
@@ -285,8 +285,8 @@ This function is only useful when called from org-agenda 
buffer."
        buffer)))
 
 (defun org-find-base-buffer-visiting (file)
-  "Like `find-buffer-visiting' but always return the base buffer and
-not an indirect buffer."
+  "Like `find-buffer-visiting' but always return the base buffer.
+FILE is the file name passed to `find-buffer-visiting'."
   (let ((buf (or (get-file-buffer file)
                 (find-buffer-visiting file))))
     (org-base-buffer buf)))

Reply via email to