org-cycle-agenda-files: Fix agenda file check
commitf6aa5341cb374299922d8423087253b5f222decc
authorKyle Meyer <kyle@kyleam.com>
Mon, 10 Aug 2015 01:29:22 +0000 (9 21:29 -0400)
committerKyle Meyer <kyle@kyleam.com>
Mon, 10 Aug 2015 01:39:18 +0000 (9 21:39 -0400)
treec166135b319d54077a13b877674d72f60133397e
parent11e874910275c27d77a0293d0c720a92f50e2b0a
org-cycle-agenda-files: Fix agenda file check

* lisp/org.el (org-cycle-agenda-files): Raise error if there are no
  agenda files, as intended.  Simplify code.
lisp/org.el