Re: [O] Avoiding open buffers when clocking in

2015-09-22 Thread Julian M. Burgos
Thanks Kyle, I did not knew this one. I was manually using this function (defun only-current-buffer () (interactive) (mapc 'kill-buffer (cdr (buffer-list (current-buffer) to kill all buffers after clocking in, but you

Re: [O] Avoiding open buffers when clocking in

2015-09-22 Thread Julian M. Burgos
Actually, the solution is obvious... I should think before posting. (defun my-org-clock-in () "Clock in and close all unmodified buffers." (interactive) (org-clock-in) (mapc 'kill-buffer (cdr (buffer-list (current-buffer ) Julian M. Burgos writes: > Thanks Kyle, I did not knew this

Re: [O] Avoiding open buffers when clocking in

2015-09-22 Thread Kyle Meyer
"Julian M. Burgos" writes: > When clocking in at some particular task, org-mode opens all my agenda > files (I assume to check if there are dangling clocks). I have many > agenda files, and I rather avoid opening tons of new buffers. Is there any > way to make org-mode not check for dangling cl