[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-command-sentinel hook?
From: |
Eli Zaretskii |
Subject: |
Re: shell-command-sentinel hook? |
Date: |
Mon, 04 Mar 2024 22:08:12 +0200 |
> Date: Mon, 4 Mar 2024 09:00:11 -0900
> From: Christopher Howard <christopher@librehacker.com>
>
> Hi, I was just wondering if it would be difficult/problematic to patch
> simple.el to provide some kind of hook so that, when async shell commands
> complete, users can run arbitrary elisp? I imagine this would get inserted at
> the end of shell-command-sentinel...?
Why cannot you simply override shell-command-sentinel with your own
function?