From: Joe Riel <joer@san.rr.com>
To: Joe Riel <joer@san.rr.com>
Cc: Help GNU Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Rebind key and save/reuse previous bound function
Date: Thu, 29 Oct 2015 21:58:43 -0700 [thread overview]
Message-ID: <20151029215843.7f87d291@gauss> (raw)
In-Reply-To: <20151029214551.1cf59d18@gauss>
On Thu, 29 Oct 2015 21:45:51 -0700
Joe Riel <joer@san.rr.com> wrote:
> 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?
The function key-binding will do what I described, and is probably
what I'll use, but what I think I really want is something more akin
to substitute-key-definition, but which, rather than substituting a
function, returns the original function. Does that exist?
--
Joe Riel
next prev parent reply other threads:[~2015-10-30 4:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-30 4:45 Rebind key and save/reuse previous bound function Joe Riel
2015-10-30 4:57 ` Joe Riel
2015-10-31 16:33 ` Emanuel Berg
2015-10-30 4:58 ` Joe Riel [this message]
2015-10-30 18:31 ` Doug Lewan
2015-10-31 20:22 ` John Mastro
2015-11-01 22:08 ` Joe Riel
2015-11-02 0:22 ` Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151029215843.7f87d291@gauss \
--to=joer@san.rr.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).