[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Rebind key and save/reuse previous bound function
From: |
Doug Lewan |
Subject: |
RE: Rebind key and save/reuse previous bound function |
Date: |
Fri, 30 Oct 2015 18:31:12 +0000 |
That sounds like 'advice' to me.
Try info "(elisp) Advising Functions" for details.
It begins with the following text that sounds like what you want
The "advice" feature lets you add
to the existing definition of a function,....
--
,Doug
Douglas Lewan
Shubert Ticketing
(201) 994-4335
Nonfirstorderizability. It's a thing.
> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
> Behalf Of Joe Riel
> Sent: Friday, 2015 October 30 00:46
> To: Help GNU Emacs
> Subject: Rebind key and save/reuse previous bound function
>
> Is there a clean way save the function bound to a key
> so that a new function can be created that is bound
> to the same key, does something, then executes the
> original bound function?
>
>
> --
> Joe Riel
>