diff options
author | Kyle Meyer <kyle@kyleam.com> | 2019-02-03 12:00:21 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2019-02-03 12:04:57 -0500 |
commit | c6d37c6ebda8a97bac8161a19a9cd94cd78c7673 (patch) | |
tree | ab53d975faf0c82d76f0c607305c787ad2b8dd42 | |
parent | 1a16155d99f7e8a411b12f3b255ec2f96ccbe113 (diff) | |
download | org-mode-c6d37c6ebda8a97bac8161a19a9cd94cd78c7673.tar.gz |
org-attach: Autoload org-attach-dired-to-subtree
* lisp/org-attach.el (org-attach-dired-to-subtree): Autoload.
A code snippet in the manual suggests binding this command in
dired-mode-map. Autoload it so that the snippet works without an
implicit (require 'org-attach).
-rw-r--r-- | lisp/org-attach.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org-attach.el b/lisp/org-attach.el index 15ce65e..4100d6f 100644 --- a/lisp/org-attach.el +++ b/lisp/org-attach.el @@ -588,6 +588,7 @@ This function is called by `org-archive-hook'. The option ;; (lambda () ;; (define-key dired-mode-map (kbd "C-c C-x a") #'org-attach-dired-to-subtree)))) +;;;###autoload (defun org-attach-dired-to-subtree (files) "Attach FILES marked or current file in dired to subtree in other window. Takes the method given in `org-attach-method' for the attach action. |