[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12844: 24.2.50; feature request: advice.el: implement `ad-do-interac
From: |
Stefan Monnier |
Subject: |
bug#12844: 24.2.50; feature request: advice.el: implement `ad-do-interactive'? |
Date: |
Wed, 14 Nov 2012 15:38:58 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> So, I don't have a solution to offer yet, but I'll keep it in mind.
Actually, it was easy enough to implement. So you can try it out on the
trunk:
(defun sm-test-advice (&rest _args)
(interactive (lambda (spec)
(with-eldoc-in-minibuffer
(advice-eval-interactive-spec spec))))
nil)
(advice-add 'debugger-record-expression :before #'sm-test-advice)
-- Stefan