[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A different way to interactively pass options to commands
From: |
Stefan Monnier |
Subject: |
Re: A different way to interactively pass options to commands |
Date: |
Fri, 19 Feb 2021 09:30:43 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> > (defun copy-next-command-output ()
> > "Prefix command to add the output of the next command to the
> `kill-ring`."
>
> It looks useful, but wouldn't copy-previous-command-output be better?
> With that, you could make the decision after running the other command
> and seeing its output.
Of course, but while it's easy to predict the future, it can be
hard to find what happened after the fact ;-)
Stefan