emacs-wiki-discuss
[Top][All Lists]
Advanced

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

[emacs-wiki-discuss] including files as-is in muse


From: Stefan van der Walt
Subject: [emacs-wiki-discuss] including files as-is in muse
Date: Thu, 12 Jan 2006 15:04:27 +0200
User-agent: Mutt/1.5.9i

I am trying to include a code listing in my wiki, by using the
following lisp code:

<lisp>
(with-temp-buffer
  (insert "<example>")
  (insert-file-contents (concat (file-name-directory 
muse-publishing-current-file) "code.py"))
  (insert "</example>")
  (buffer-string)
  )
)
</lisp>

The <example> tag is parsed, and yet the rest of the code (inside the
<example></example>) is also wikified.  Is this the expected
behaviour?

Regards
Stéfan





reply via email to

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