I am trying to create a bash alias to open emacs with a calendar from terminal. To do so I am using calfw with use-package like so:
(use-package calfw
:ensure ;TODO:
:config
(require 'calfw)
(require 'calfw-org)
(setq cfw:org-overwrite-default-keybinding t)
(require 'calfw-ical)
:bind ("C-c q" . 'cfw:open-org-calendar))
When I try to do
em --eval "(execute-extended-command (cfw:open-org-calendar))"
it opens with the calendar open, but it waits for a M-x command
Not sure what I am doing wrong.
Thx!