[Top][All Lists]

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


From: Sebastian Tennant
Subject: (message-draft-p)
Date: Tue, 01 Apr 2008 10:09:25 +0300
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Hi list,

What's the best way to wirte a function


for use in posting styles?

Or perhaps such a function already exists somewhere.

I've had this hook in place for so long I forgot I ever wrote it:

(add-hook 'gnus-summary-prepared-hook
          (lambda () (when (equal gnus-newsgroup-name "nndraft:drafts")
                       (gnus-draft-mode 1))))

so my only idea for (message-draft-p) is simply to check if the *Summary*
buffer is in draft mode...

But no doubt there's a better way?


Emacs' AlsaPlayer - Music Without Jolts

reply via email to

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