[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)
- [nongnu] elpa/subed f3b48e319e 16/22: Use function instead of quote in subed-define-generic-function, (continued)
- [nongnu] elpa/subed f3b48e319e 16/22: Use function instead of quote in subed-define-generic-function, ELPA Syncer, 2022/02/01
- [nongnu] elpa/subed 5e9518da77 18/22: Work around direct call of subed-mode by guessing format, ELPA Syncer, 2022/02/01
- [nongnu] elpa/subed 5ed05ad398 02/22: Implement mode-specific functions with cl-defmethod, ELPA Syncer, 2022/02/01
- [nongnu] elpa/subed 1f7e32e176 06/22: README.org: document branches, mention autoloads, ELPA Syncer, 2022/02/01
- [nongnu] elpa/subed a58b002fe9 15/22: Clean up undercover-init.el, ELPA Syncer, 2022/02/01
- [nongnu] elpa/subed 3e99c6cb6f 22/22: Merge branch 'derived-mode' into main, ELPA Syncer, 2022/02/01
- [nongnu] elpa/subed b3a4ae08ab 10/22: Add missing tests for merging and subtitle ID at msecs, ELPA Syncer, 2022/02/01
- [nongnu] elpa/subed 94c28993b7 21/22: Define obsolete function aliases, ELPA Syncer, 2022/02/01
- [nongnu] elpa/subed 00d5525712 17/22: Add autoloads, ELPA Syncer, 2022/02/01
- [nongnu] elpa/subed 52fa457512 20/22: subed-define-generic-function: edebug and indent like a defun, ELPA Syncer, 2022/02/01
- [nongnu] elpa/subed 3199cd60d8 19/22: Document subed-define-generic-function,
ELPA Syncer <=