[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: org-export-generic: accessing todo keywords

From: Carsten Dominik
Subject: Re: [Orgmode] Re: org-export-generic: accessing todo keywords
Date: Fri, 20 Nov 2009 06:54:31 +0100

Applied, thanks.

- Carsten

On Nov 19, 2009, at 4:20 PM, Wes Hardaker wrote:

On Wed, 18 Nov 2009 15:33:03 -0500, Tim Hermans <address@hidden > 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 ______________/

Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.

- Carsten

reply via email to

[Prev in Thread] Current Thread [Next in Thread]