summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs/custom/fcuny-org.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/emacs/custom/fcuny-org.el b/emacs/custom/fcuny-org.el
index 39cfbe6..d5fe662 100644
--- a/emacs/custom/fcuny-org.el
+++ b/emacs/custom/fcuny-org.el
@@ -1,6 +1,12 @@
+;;; fcuny-org.el --- Configure org-mode
+;;; Commentary:
+;;; Code:
+
 (require 'fcuny-vars)
 (require 'fcuny-clipboard)
 
+(require 'use-package)
+
 (use-package org-ml
   :ensure t)
 
@@ -133,7 +139,8 @@
                          (org-agenda-skip-function '(org-agenda-skip-entry-if 'deadline 'scheduled))))))))
 
 (defun fcuny/org-capture/link ()
-  "Make a TODO entry with a link in clipboard. Page title is used as an entry heading."
+  "Make a TODO entry with a link in clipboard.
+The page title is used as an entry heading."
   (let* ((url-string (s-trim (fcuny/clipboard-get-contents)))
          (pdf (string-suffix-p "pdf" url-string)))
     (unless pdf
@@ -167,3 +174,4 @@
       "* %?\n:PROPERTIES:\n:CREATED: %T\n:END:\n" :tree-type day))))
 
 (provide 'fcuny-org)
+;;; fcuny-org.el ends here