[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: How to generate a page without title
From: |
Michael Olson |
Subject: |
[emacs-wiki-discuss] Re: How to generate a page without title |
Date: |
Wed, 30 Nov 2005 17:45:32 -0500 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ken Brown <address@hidden> writes:
> On 11/29/2005 10:23 PM, Michael Olson wrote:
>
>>
>>(defun my-muse-remove-title-directive
>> (setq muse-publishing-directives
>> (delq (assoc "title" muse-publishing-directives)
>> muse-publishing-directives)))
>>
>>(add-hook 'muse-before-publish-hook 'my-muse-remove-title-directive)
>>
>>
> I've had the same question as Evan, but I think your solution is too
> drastic. Doesn't it eliminate titles on all documents?
No, it doesn't. The default title is created by muse-publish-file.
Then that routine calls muse-before-publish-hook. Then markup gets
interpreted. Then any #title directive gets interpreted. It should
work.
- --
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: manga, Debian, XHTML, wiki, Emacs Lisp
/` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
|_] | \| |_| Jabber: mwolson_at_hcoop.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDjiuP+1Ho2POo0xkRAoJEAJ9baIKXxgSPBiAAICjEZy4uPAgJmQCfUw+I
YAFvwLtQGny94J26is/0SBc=
=+0pP
-----END PGP SIGNATURE-----