Florian Lindner <mailingli...@xgm.de> wrote:
> Hello,
>
> can I make org-iswitchb consider not only already opened files but all
> agenda files, just like org-agenda?
>
> I tried one and two prefix arguments, but org-iswitchb always considers
> only files that are already opened.

`org-iswitchb' is restricted to open buffers, but the function below
should have the behavior you want.

#+begin_src elisp
  (defun org-open-agenda-file ()
    (interactive)
    (find-file (org-icompleting-read "Agenda file: " org-agenda-files)))
#+end_src


--
Kyle

Reply via email to