From: David Holm <dholmster@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH v1 4/4] contrib/lisp/org-annotate-file.el improvements
Date: Sat, 15 Mar 2014 19:20:08 +0100 [thread overview]
Message-ID: <CAAw2GXtuF9fvtJhvNr30xLSJ2Ufu6zftgcGr+EefrEv18H2f=w@mail.gmail.com> (raw)
[-- 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
reply other threads:[~2014-03-15 18:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAw2GXtuF9fvtJhvNr30xLSJ2Ufu6zftgcGr+EefrEv18H2f=w@mail.gmail.com' \
--to=dholmster@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).