branch: externals/transient commit 93c9a7ecfc3b28a4254e0e53c158cb571b681103 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
transient--history-init: Fix doc-string pasto --- lisp/transient.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/transient.el b/lisp/transient.el index 7aaf1659fd..5abda5b8b1 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -2261,12 +2261,12 @@ which is not the same as nil." (cons args (delete args (alist-get slot transient-history)))))) (cl-defgeneric transient--history-init (obj) - "Initialize OBJ's `value' slot. + "Initialize OBJ's `history' slot. This is the transient-wide history; many individual infixes also have a history of their own.") (cl-defmethod transient--history-init ((obj transient-prefix)) - "Initialize OBJ's `value' slot from the variable `transient-history'." + "Initialize OBJ's `history' slot from the variable `transient-history'." (let ((val (oref obj value)) (cmd (oref obj command))) (oset obj history