mirror of
https://github.com/SqrtMinusOne/pomm.el.git
synced 2025-12-10 14:43:03 +03: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)))
|
(variable :initarg :variable)))
|
||||||
|
|
||||||
(cl-defmethod transient-init-value ((obj pomm--transient-lisp-variable-switch))
|
(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
|
(oset obj value
|
||||||
(symbol-value (oref obj variable))))
|
(symbol-value (oref obj variable))))
|
||||||
|
|
||||||
(cl-defmethod transient-infix-read ((obj pomm--transient-lisp-variable-switch))
|
(cl-defmethod transient-infix-read ((obj pomm--transient-lisp-variable-switch))
|
||||||
"Toggle the value of the `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
|
(oset obj value
|
||||||
(set (oref obj variable)
|
(set (oref obj variable)
|
||||||
(not (symbol-value (oref obj variable))))))
|
(not (symbol-value (oref obj variable))))))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue