unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Combine 2 commands in a toggle-function
@ 2012-10-13  9:06 Martin Butz
  2012-10-13  9:19 ` Peter Dyballa
  2012-10-13  9:54 ` Martin Butz
  0 siblings, 2 replies; 6+ messages in thread
From: Martin Butz @ 2012-10-13  9:06 UTC (permalink / raw)
  To: help-gnu-emacs

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 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-13 13:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-13  9:06 Combine 2 commands in a toggle-function Martin Butz
2012-10-13  9:19 ` 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

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).