emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org d6924212bd 1/4: lisp/org-macs.el: Fix some checkdoc


From: ELPA Syncer
Subject: [elpa] externals/org d6924212bd 1/4: lisp/org-macs.el: Fix some checkdoc warnings
Date: Fri, 15 Dec 2023 06:58:23 -0500 (EST)

branch: externals/org
commit d6924212bd3ed1b7b9def71504c714cb8aa00e8a
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    lisp/org-macs.el: Fix some checkdoc warnings
    
    * lisp/org-macs.el (org-with-remote-undo): Avoid using Elisp symbol
    without quotes.
    (org-with-wide-buffer): Mark the argument in 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 a8112d8245..cb69d956c4 100644
--- a/lisp/org-macs.el
+++ b/lisp/org-macs.el
@@ -178,7 +178,7 @@ EPOM is an element, point, or marker."
 
 (defmacro org-with-remote-undo (buffer &rest body)
   "Execute BODY while recording undo information in current buffer and BUFFER.
-This function is only useful when called from org-agenda buffer."
+This function is only useful when called from Agenda buffer."
   (declare (debug (form body)) (indent 1))
   (org-with-gensyms (cline cmd buf1 buf2 undo1 undo2 c1 c2)
     `(let ((,cline (org-current-line))
@@ -210,7 +210,7 @@ This function is only useful when called from org-agenda 
buffer."
 (defalias 'org-save-outline-visibility #'org-fold-save-outline-visibility)
 
 (defmacro org-with-wide-buffer (&rest body)
-  "Execute body while temporarily widening the buffer."
+  "Execute BODY while temporarily widening the buffer."
   (declare (debug (body)))
   `(save-excursion
      (save-restriction



reply via email to

[Prev in Thread] Current Thread [Next in Thread]