Sfoglia il codice sorgente

Provide autoloads for org-annotate-file

* contrib/lisp/org-annotate-file.el (org-annotate-file,
org-annotate-file-show-section): Provide autoloads for the functions
intended for use from outside the script.

TINYCHANGE
David Holm 11 anni fa
parent
commit
0d197521c6
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      contrib/lisp/org-annotate-file.el

+ 2 - 0
contrib/lisp/org-annotate-file.el

@@ -83,6 +83,7 @@ Trim whitespace at beginning and end of STRING and replace any
           replace-map)
     string))
 
+;;;###autoload
 (defun org-annotate-file ()
   "Visit `org-annotate-file-storage-file` and add a new annotation section.
 The annotation is opened at the new section which will be referencing
@@ -93,6 +94,7 @@ the point in the current file."
   (switch-to-buffer
    (org-annotate-file-show-section org-annotate-file-storage-file)))
 
+;;;###autoload
 (defun org-annotate-file-show-section (storage-file &optional annotated-buffer)
   "Add or show annotation entry in STORAGE-FILE and return the buffer.
 The annotation will link to ANNOTATED-BUFFER if specified,