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

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

[nongnu] elpa/subed 3199cd60d8 19/22: Document subed-define-generic-func


From: ELPA Syncer
Subject: [nongnu] elpa/subed 3199cd60d8 19/22: Document subed-define-generic-function
Date: Tue, 1 Feb 2022 14:06:12 -0500 (EST)

branch: elpa/subed
commit 3199cd60d80dd288f683618bcc8027b9ebb9d803
Author: Sacha Chua <sacha@sachachua.com>
Commit: Sacha Chua <sacha@sachachua.com>

    Document subed-define-generic-function
    
    * subed/subed-common.el (subed-define-generic-function): Add
    documentation.
---
 subed/subed-common.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/subed/subed-common.el b/subed/subed-common.el
index 526fb86762..84804f7753 100644
--- a/subed/subed-common.el
+++ b/subed/subed-common.el
@@ -40,7 +40,11 @@
 (defvar-local subed--regexp-timestamp nil "Regexp matching timestamps.")
 
 (defmacro subed-define-generic-function (name args &rest body)
-  "Declare an object method and provide the old way of calling it."
+  "Declare an object method and provide the old way of calling it.
+NAME is the part of the function name that will go after the
+subed- prefix.  ARGS are the arguments for the function.  BODY is
+the body of the function, and may include a docstring or an
+interactive form."
   (declare (indent 2))
   (let (is-interactive
         doc)



reply via email to

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