[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] raising frame on capture hack
From: |
Alan Schmitt |
Subject: |
[O] raising frame on capture hack |
Date: |
Mon, 23 Jan 2017 15:38:10 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) |
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
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] raising frame on capture hack,
Alan Schmitt <=