diff options
| author | Jim Porter | 2022-02-26 20:55:22 -0800 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-03-03 14:59:33 +0100 |
| commit | ae1acb601764009fc2551819f9193aa6e9441be4 (patch) | |
| tree | 568f5226afb3d3d42822c0996b8b196be2f04fd4 /lisp/progmodes/executable.el | |
| parent | 7c7a4c26cbabe2d84d008e193b7db8ae106e9e47 (diff) | |
| download | emacs-ae1acb601764009fc2551819f9193aa6e9441be4.tar.gz emacs-ae1acb601764009fc2551819f9193aa6e9441be4.zip | |
Add a new macro to simplify parsing temporary Eshell command strings
This abstracts out the somewhat-unusual "insert&delete" logic in
'eshell-parse-command' so that it can be used elsewhere, and also
ensures that the deletion occurs even if an an error occurs.
* lisp/eshell/esh-cmd.el (eshell-with-temp-command): New macro.
(eshell-parse-command): Use it.
Diffstat (limited to 'lisp/progmodes/executable.el')
0 files changed, 0 insertions, 0 deletions