💥 lang/org: conform to new name conventions

This commit is contained in:
Henrik Lissner 2019-07-21 02:38:42 +02:00
parent 149b2617b0
commit 8147bc1aee
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
10 changed files with 198 additions and 196 deletions

View file

@ -15,7 +15,7 @@
"TODO")
;;;###autoload
(defun +org-capture|cleanup-frame ()
(defun +org-capture-cleanup-frame-h ()
"Closes the org-capture frame once done adding an entry."
(when (+org-capture-frame-p)
(delete-frame nil t)))
@ -59,7 +59,7 @@ you're done. This can be called from an external shell script."
if (buffer-local-value 'org-capture-mode buf)
return buf)))
(with-current-buffer buf
(add-hook 'kill-buffer-hook #'+org-capture|cleanup-frame nil t))
(add-hook 'kill-buffer-hook #'+org-capture-cleanup-frame-h nil t))
(delete-frame frame))))))
('error
(message "org-capture: %s" (error-message-string ex))