summaryrefslogtreecommitdiff
path: root/alot/command.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2011-09-30 12:16:08 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2011-09-30 12:16:08 +0100
commitba5ee3e5c25cb9573ca751cd170064270ced371d (patch)
tree9ea3dcfe576847ee7175785a1196111209840b29 /alot/command.py
parent56db1007f20c40e7edacc7b8175cb3e357bde957 (diff)
new config switch bufferclose_focus_offset
defines the offset of the newly focussed buffer in case one closes the current one
Diffstat (limited to 'alot/command.py')
-rw-r--r--alot/command.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/alot/command.py b/alot/command.py
index bbd7ed47..903036f5 100644
--- a/alot/command.py
+++ b/alot/command.py
@@ -241,6 +241,7 @@ class BufferCloseCommand(Command):
def apply(self, ui):
if self.focussed:
+ #if in bufferlist, this is ugly.
self.buffer = ui.current_buffer.get_selected_buffer()
elif not self.buffer:
self.buffer = ui.current_buffer