[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] Error publishing with latest muse + planner
From: |
Seth Falcon |
Subject: |
Re: [emacs-wiki-discuss] Error publishing with latest muse + planner |
Date: |
Sun, 18 Dec 2005 14:17:20 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) |
On 18 Dec 2005, address@hidden wrote:
>>>>>> Seth Falcon <address@hidden> writes:
>
>> I'm seeing the following when I try to publish a day page using
>> planner-html:
>
>
>> Warning (muse): 2005.12.18: Error occurred: (wrong-type-argument
>> char-or-string-p (<div class="section">))
>
> muse-insert-markup should be applied to args in
> planner-insert-markup:
>
> (defun planner-insert-markup (&rest args)
> (if (fboundp 'muse-insert-markup)
> (apply 'muse-insert-markup args)
> (apply 'insert args)))
Thanks, that fixed it for me. Here's the same fix in patch form in
case it makes it easier for someone to apply to the repository.
+ seth
--- a/planner-publish.el Sun Dec 18 00:12:20 2005 -0800
+++ b/planner-publish.el Sun Dec 18 14:15:29 2005 -0800
@@ -418,7 +418,7 @@
(defun planner-insert-markup (&rest args)
(if (fboundp 'muse-insert-markup)
- (muse-insert-markup args)
+ (apply 'muse-insert-markup args)
(apply 'insert args)))