diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2019-03-04 23:02:26 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2019-03-04 23:57:24 +0100 |
| commit | bbf81297c6e3a66aa1f4dd44eebddb4901bb1f13 (patch) | |
| tree | 95afe32694941af516148cdbb06b97276511ece0 /docs | |
| parent | b1da0cab5d70e258866d1f10f3d87306dd4d9a50 (diff) | |
Prevent infix commands from being added to command-history
Closes #23.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/transient.org | 13 | ||||
| -rw-r--r-- | docs/transient.texi | 13 |
2 files changed, 12 insertions, 14 deletions
diff --git a/docs/transient.org b/docs/transient.org index b92c7c8..8dc9543 100644 --- a/docs/transient.org +++ b/docs/transient.org @@ -8,7 +8,7 @@ #+TEXINFO_DIR_CATEGORY: Emacs #+TEXINFO_DIR_TITLE: Transient: (transient). #+TEXINFO_DIR_DESC: Transient Commands -#+SUBTITLE: for version 0.1.0 (v0.1.0-32-g08b4778+1) +#+SUBTITLE: for version 0.1.0 (v0.1.0-39-gb1da0ca+1) #+TEXINFO_DEFFN: t #+OPTIONS: H:4 num:4 toc:2 @@ -37,7 +37,7 @@ Calling a suffix command usually causes the transient to be exited but suffix commands can also be configured to not exit the transient. #+TEXINFO: @noindent -This manual is for Transient version 0.1.0 (v0.1.0-32-g08b4778+1). +This manual is for Transient version 0.1.0 (v0.1.0-39-gb1da0ca+1). #+BEGIN_QUOTE Copyright (C) 2018-2019 Jonas Bernoulli <jonas@bernoul.li> @@ -908,11 +908,10 @@ suffixes". The function definitions is always: #+BEGIN_SRC emacs-lisp - (lambda (obj value) - (interactive - (let ((obj (transient-suffix-object))) - (list obj (transient-infix-read obj)))) - (transient-infix-set obj value) + (lambda () + (interactive) + (let ((obj (transient-suffix-object))) + (transient-infix-set obj (transient-infix-read obj))) (transient--show)) #+END_SRC diff --git a/docs/transient.texi b/docs/transient.texi index 35d93f0..49f9fe5 100644 --- a/docs/transient.texi +++ b/docs/transient.texi @@ -31,7 +31,7 @@ General Public License for more details. @finalout @titlepage @title Transient User and Developer Manual -@subtitle for version 0.1.0 (v0.1.0-32-g08b4778+1) +@subtitle for version 0.1.0 (v0.1.0-39-gb1da0ca+1) @author Jonas Bernoulli @page @vskip 0pt plus 1filll @@ -65,7 +65,7 @@ Calling a suffix command usually causes the transient to be exited but suffix commands can also be configured to not exit the transient. @noindent -This manual is for Transient version 0.1.0 (v0.1.0-32-g08b4778+1). +This manual is for Transient version 0.1.0 (v0.1.0-39-gb1da0ca+1). @quotation Copyright (C) 2018-2019 Jonas Bernoulli <jonas@@bernoul.li> @@ -1133,11 +1133,10 @@ explicitly. The function definitions is always: @lisp -(lambda (obj value) - (interactive - (let ((obj (transient-suffix-object))) - (list obj (transient-infix-read obj)))) - (transient-infix-set obj value) +(lambda () + (interactive) + (let ((obj (transient-suffix-object))) + (transient-infix-set obj (transient-infix-read obj))) (transient--show)) @end lisp |
