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

[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: Tue, 29 Nov 2005 22:23:50 -0500
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Evan <address@hidden> writes:

> A muse file without '#title' directive will generate a page with the
> filename as its title. Though it may sound not a good idea, if I
> don't want the title in some pages, what should I do?

(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)

- -- 
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)

iD8DBQFDjRtJ+1Ho2POo0xkRAuF1AJ0RCYi6OoRZ8Ay9JUvq9gffOYgIcgCfTA0B
3CH1VefKyPLsuA4r6992oLg=
=GFUB
-----END PGP SIGNATURE-----




reply via email to

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