Hi

I have written this crappy code to save a split orgmode agenda views with
different agenda views.

(defun z/buffers-restore-agenda-split   ()
 (interactive)
 (org-agenda nil "a")
 (split-window-right)
 (org-agenda nil "ba")
 (split-window-below)
 (org-agenda nil "bb")
 )

the function does split the windows correctly yet all the views get the
last option ("bb") instead of a different view in each window

any clue why this happens?


thx!


Z

Reply via email to