[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org b1c507c0ee 1/3: org-find-base-buffer-visiting: Docu
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org b1c507c0ee 1/3: org-find-base-buffer-visiting: Document function argument |
Date: |
Wed, 20 Sep 2023 06:58:29 -0400 (EDT) |
branch: externals/org
commit b1c507c0ee37580b807029b3d86bcc449c7fe217
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
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)))