On 2009-07-23 09:11:00(+0200), Bastien wrote: > Wes Hardaker <wjhns...@hardakers.net> writes: > > >>>>>> On Wed, 22 Jul 2009 01:59:12 +0200, Bastien > >>>>>> <bastiengue...@googlemail.com> said: > > > > B> Those two functions come from alist.el which is included in Apel: > > > > So does that mean it's safe to leave the functions in use within > > org-export generic, > > AFAIK `set-alist' is not defined in vanilla Emacs. So no, it's not safe > to leave this function in use in org-export-generic.el. > > > or should I replace it with a locally defined > > slightly-different-named version? > > Either do that or advertize the need for the Apel package, or integrate > what set-alist does without even creating a function. Up to you :)
You could use the aput function instead. which does the same thing. It's in assoc.el which is included with both GNU Emacs and XEmacs. ,-----< C-h f aput RET > | aput is a compiled Lisp function in `assoc.el'. | (aput alist-symbol key &optional value) | | Inserts a key-value pair into an alist. | The alist is referenced by alist-symbol. The key-value pair is made | from key and optionally, value. Returns the altered alist or nil if | ALIST is nil. | | If the key-value pair referenced by key can be found in the alist, and | value is supplied non-nil, then the value of key will be set to value. | If value is not supplied, or is nil, the key-value pair will not be | modified, but will be moved to the head of the alist. If the key-value | pair cannot be found in the alist, it will be inserted into the head | of the alist (with value nil if value is nil or not supplied). `---- James -- |-<James TD Smith>-<email/ahktenz...@mohorovi.cc>-| _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode