mirror of
https://github.com/vale981/pomm.el
synced 2025-03-04 17:21:43 -05:00
refactor: checkdoc
This commit is contained in:
parent
23ebf485d8
commit
7ac74966d2
1 changed files with 6 additions and 2 deletions
8
pomm.el
8
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))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue