diff --git a/emacs/init.org b/emacs/init.org index a834548..9ad605d 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -4647,3 +4647,16 @@ Does what it says on the box. I use it to hide the mode line in Neotree buffers. ((normal visual motion insert emacs) "C-c d" 'dash-at-point) ((normal visual motion insert emacs) "C-c e" 'dash-at-point-with-docset)) #+END_SRC + +* Alfred +Add a function to power the [[https://orgmode.org/worg/org-contrib/alfred-org-capture.html][alfred-org-capture]] Alfred workflow: +#+BEGIN_SRC emacs-lisp + (defun make-orgcapture-frame () + "Create a new frame and run org-capture." + (interactive) + (make-frame '((name . "Org Capture") (width . 100) (height . 24) + (top . 400) (left . 300))) + + (select-frame-by-name "Org Capture") + (org-capture)) +#+END_SRC