Browse Source

Add autoloads for org-capture

Carsten Dominik 14 years ago
parent
commit
0c4e2ab0ed
2 changed files with 7 additions and 1 deletions
  1. 2 1
      lisp/org-capture.el
  2. 5 0
      lisp/org.el

+ 2 - 1
lisp/org-capture.el

@@ -314,6 +314,7 @@ for a Remember buffer.")
 
 ;;; The main commands
 
+;;;###autoload
 (defun org-capture (&optional goto keys)
   "Capture something.
 
@@ -470,7 +471,7 @@ already gone."
   (interactive)
   (org-goto-marker-or-bmk org-capture-last-stored-marker
 			  "org-capture-last-stored")
-  (message "This is the last note stored by in a capture process"))
+  (message "This is the last note stored by a capture process"))
 
 ;;; Supporting functions for handling the process
 

+ 5 - 0
lisp/org.el

@@ -3611,6 +3611,11 @@ If TABLE-TYPE is non-nil, also check for table.el-type tables."
 		'(org-remember-insinuate org-remember-annotation
    org-remember-apply-template org-remember org-remember-handler)))
 
+(eval-and-compile
+  (org-autoload "org-capture"
+		'(org-capture org-capture-insert-template-here
+                  org-capture-import-remember-templates)))
+
 ;; Autoload org-clock.el