emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [Patch] Kill capture-template selection buffer after C-g


From: Sebastian Rose
Subject: [Orgmode] [Patch] Kill capture-template selection buffer after C-g
Date: Sat, 26 Jun 2010 00:04:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

`C-c c' brings up the template selection.  If you press `C-g' to quit
capturing, the buffer is not deleted.  Instead the old window
configuration is restored and the buffer is the second on the buffer
stack.  `C-x b' switches to the selection buffer again surprisingly.


The appended patch fixes this issue.  Carsten: this patch depends on the
currently undocumented return value of
`org-switch-to-buffer-other-window' (the newly created buffer).  I'd
suggest to either document it (see the second patch) or alter the patch:

   (setq buffer (get-buffer "*Org Select*"))


Attachment: org-mks.el-kill-Org-Select-buffer.patch
Description: Text Data

Attachment: org.el-document-return-value-of-function.patch
Description: Text Data


Best wishes

  Sebastian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]