From: Wes Hardaker <wjhns209@hardakers.net>
To: Tim Hermans <thermans@gmail.com>
Cc: emacs-orgmode@gnu.org, hardaker@users.sourceforge.net
Subject: Re: org-export-generic: accessing todo keywords
Date: Thu, 19 Nov 2009 07:20:08 -0800 [thread overview]
Message-ID: <sdlji2ilsn.fsf@wjh.hardakers.net> (raw)
In-Reply-To: <4ebad96b0911181233p71030440u9f43df394e911f99@mail.gmail.com> (Tim Hermans's message of "Wed, 18 Nov 2009 15:33:03 -0500")
>>>>> On Wed, 18 Nov 2009 15:33:03 -0500, Tim Hermans <thermans@gmail.com> said:
TH> I took note from a post by James TD Smith on this list a while back
TH> and changed this to use "aput". This is included in "assoc.el"
TH> which is included in both XEmacs and GNU Emacs. It does exactly the
TH> same thing. It would be more portable.
Huh. I actually thought that was changed already via a patch a while
back but apparently the patch got lost.
Carsten, here's the patch to apply:
diff --git a/contrib/lisp/org-export-generic.el b/contrib/lisp/org-export-generic.el
index aba550e..1fff03f 100644
--- a/contrib/lisp/org-export-generic.el
+++ b/contrib/lisp/org-export-generic.el
@@ -96,6 +96,7 @@
;;; Commentary:
(require 'org-exp)
+(require 'assoc)
(defgroup org-export-generic nil
"Options specific for ASCII export of Org-mode files."
@@ -440,7 +441,7 @@ in this way, it will be wrapped."
(defun org-set-generic-type (type definition)
"Adds a TYPE and DEFINITION to the existing list of defined generic
export definitions."
- (set-alist 'org-generic-alist type definition))
+ (aput 'org-generic-alist type definition))
(defun org-export-generic-remember-section (type suffix &optional prefix)
(setq org-export-generic-section-type type)
--
\ Wes Hardaker http://pontifications.hardakers.net /
\_____ "In the bathtub of history the truth is harder to hold than ________/
\_______ the soap, and much more difficult to find." _______/
\_________ -- Terry Pratchett ______________/
\__________________/
next prev parent reply other threads:[~2009-11-19 15:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-16 22:43 org-export-generic: accessing todo keywords Tim Hermans
2009-11-18 1:16 ` Wes Hardaker
2009-11-18 20:33 ` Tim Hermans
2009-11-19 15:20 ` Wes Hardaker [this message]
2009-11-20 5:54 ` Carsten Dominik
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sdlji2ilsn.fsf@wjh.hardakers.net \
--to=wjhns209@hardakers.net \
--cc=emacs-orgmode@gnu.org \
--cc=hardaker@users.sourceforge.net \
--cc=thermans@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.