help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: fontifying emacs w3m view source buffer


From: Thien-Thi Nguyen
Subject: Re: fontifying emacs w3m view source buffer
Date: Thu, 17 Mar 2005 21:33:51 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Peter K. Lee <saint@corenova.com> writes:

> Any suggestions?

check for applicability as you currently do, then, instead of
changing the mode of the buffer directly, copy its contents to a
new buffer which you can munge much more freely.  split the
command into the check and a call to a new function (something
along the lines of "prettify-html-other-buffer"), so that you can
use the latter in other contexts.  comment, document, GPL, post.

thi


reply via email to

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