[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Combine 2 commands in a toggle-function
From: |
Martin Butz |
Subject: |
Combine 2 commands in a toggle-function |
Date: |
Sat, 13 Oct 2012 11:06:11 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.18) Gecko/20081125 Thunderbird/2.0.0.18 Mnenhy/0.7.5.0 |
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 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Combine 2 commands in a toggle-function,
Martin Butz <=