From: Martin Butz <mb@mkblog.org>
To: help-gnu-emacs@gnu.org
Subject: Combine 2 commands in a toggle-function
Date: Sat, 13 Oct 2012 11:06:11 +0200 [thread overview]
Message-ID: <50792F03.2030601@mkblog.org> (raw)
Hi,
as my lisp-knowledge is less than basic (up to now), I wonder if someone
can help:
I would like to create a toggle function binded to a key and combining
two commands, such as:
'escreen-menu [1]
'kill-buffer-other-window
Martin
[1] I quite like escreen, but calling the menu leaves me with a new
frame an a buffer, which I only need temporarily for reference. I do not
know an escreen function, which does close the menu (such as /q/ closing
the agenda in org-mode)
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| G. Martin Butz, mb@mkblog.org, 0421 98749324, www.mkblog.org |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next reply other threads:[~2012-10-13 9:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-13 9:06 Martin Butz [this message]
2012-10-13 9:19 ` Combine 2 commands in a toggle-function Peter Dyballa
2012-10-13 9:54 ` Martin Butz
2012-10-13 11:46 ` Andreas Röhler
2012-10-13 13:02 ` Martin Butz
2012-10-13 13:19 ` Andreas Röhler
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50792F03.2030601@mkblog.org \
--to=mb@mkblog.org \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.