Kyle Meyer преди 7 години
родител
ревизия
2d88cfbc08
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 1
      doc/org-manual.org
  2. 1 0
      lisp/org-attach.el

+ 1 - 1
doc/org-manual.org

@@ -7710,7 +7710,7 @@ a)}}} attach files in Dired buffers.
           (lambda ()
           (lambda ()
             (define-key dired-mode-map
             (define-key dired-mode-map
               (kbd "C-c C-x a")
               (kbd "C-c C-x a")
-              #'org-attach-dired-to-subtree))))
+              #'org-attach-dired-to-subtree)))
 #+end_src
 #+end_src
 
 
 The following code shows how to bind the previous command with
 The following code shows how to bind the previous command with

+ 1 - 0
lisp/org-attach.el

@@ -605,6 +605,7 @@ This function is called by `org-archive-hook'.  The option
 ;;  (lambda ()
 ;;  (lambda ()
 ;;    (define-key dired-mode-map (kbd "C-c C-x a") #'org-attach-dired-to-subtree))))
 ;;    (define-key dired-mode-map (kbd "C-c C-x a") #'org-attach-dired-to-subtree))))
 
 
+;;;###autoload
 (defun org-attach-dired-to-subtree (files)
 (defun org-attach-dired-to-subtree (files)
   "Attach FILES marked or current file in dired to subtree in other window.
   "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.
 Takes the method given in `org-attach-method' for the attach action.