Hi Drew, org-mode-community,
* Drew Adams drew.ad...@oracle.com [14. Jul. 2013]:
(add-hook 'kill-buffer-hook 'org-remove-file)
But the last hook does not work as espected. Instead it says
Current buffer does not visit a file. But according to the
documentation kill-buffer-hook is run
Hi Eric, org-mod users and developers,
* Eric Abrahamsen e...@ericabrahamsen.net [13. Jul. 2013]:
Gregor Zattler telegr...@gmx.net writes:
But I wished there was also the ability to define a list of files
which do only contribute to the agenda if already open
(preferably with some pattern
(add-hook 'kill-buffer-hook 'org-remove-file)
But the last hook does not work as espected. Instead it says
Current buffer does not visit a file. But according to the
documentation kill-buffer-hook is run before the buffer is
actually killed and the buffer is current when calling the hook.