* [PATCH v1 4/4] contrib/lisp/org-annotate-file.el improvements
@ 2014-03-15 18:20 David Holm
0 siblings, 0 replies; only message in thread
From: David Holm @ 2014-03-15 18:20 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 138 bytes --]
This is the fourth and last patch of this series. It simply adds autoloads
for `org-annotate-file` and `org-annotate-file-show-section`.
[-- Attachment #1.2: Type: text/html, Size: 160 bytes --]
[-- Attachment #2: 0004-Provide-autoloads-for-org-annotate-file.patch --]
[-- Type: application/octet-stream, Size: 1359 bytes --]
From 54b6359b2dfefb631b158b20f9ff716d670e6482 Mon Sep 17 00:00:00 2001
From: David Holm <dholmster@gmail.com>
Date: Sat, 15 Mar 2014 18:00:46 +0100
Subject: [PATCH 4/4] 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
---
contrib/lisp/org-annotate-file.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/contrib/lisp/org-annotate-file.el b/contrib/lisp/org-annotate-file.el
index 6bea7ef..8fbb590 100644
--- a/contrib/lisp/org-annotate-file.el
+++ b/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,
--
1.9.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-03-15 18:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-15 18:20 [PATCH v1 4/4] contrib/lisp/org-annotate-file.el improvements David Holm
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).