diff options
author | Franck Cuny <franck@fcuny.net> | 2022-03-22 06:56:59 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-03-22 06:56:59 -0700 |
commit | 2cd28abb55b278c958ae4dd83b164144c0c13254 (patch) | |
tree | 2a66f8106d236e5faa44b351dc1a4367b768582a /emacs | |
parent | navigation: make flymake happy (diff) | |
download | emacs.d-2cd28abb55b278c958ae4dd83b164144c0c13254.tar.gz |
org: make flymake happy
Diffstat (limited to '')
-rw-r--r-- | emacs/custom/fcuny-org.el | 10 |
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 |