From 7ac74966d25a5d4a887e55c1b7d21f5a1dafa950 Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Sat, 13 Aug 2022 21:05:44 +0500 Subject: [PATCH] refactor: checkdoc --- pomm.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pomm.el b/pomm.el index ab79bf5..1dbb7c4 100644 --- a/pomm.el +++ b/pomm.el @@ -634,14 +634,18 @@ minor mode." (variable :initarg :variable))) (cl-defmethod transient-init-value ((obj pomm--transient-lisp-variable-switch)) - "Initialize the value for the `pomm--transient-lisp-variable-switch'." + "Initialize the value for the `pomm--transient-lisp-variable-switch'. + +OBJ is an instance of the class." (oset obj value (symbol-value (oref obj variable)))) (cl-defmethod transient-infix-read ((obj pomm--transient-lisp-variable-switch)) "Toggle the value of the `pomm--transient-lisp-variable-switch'. -This changes both the value of the variable and the value of the class." +This changes both the value of the variable and the value of the class. + +OBJ is an instance of the class." (oset obj value (set (oref obj variable) (not (symbol-value (oref obj variable))))))