Hello,

I'm using the following hack to raise the emacs frame when doing a
capture from outside emacs:

#+begin_src emacs-lisp
  (defun as/raise-frame ()
    (select-frame-set-input-focus (selected-frame)))

  (add-hook 'org-capture-mode-hook 'as/raise-frame)
#+end_src

Is there a better way?

Thanks,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-12: 404.48, 2015-12: 401.85

Attachment: signature.asc
Description: PGP signature

Reply via email to