Hi list,

What's the best way to wirte a function

 (message-draft-p)

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?

Sebastian

-- 
Emacs' AlsaPlayer - Music Without Jolts
http://sebyte.org/eap.html



_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to