1 Apr 2008 09:09
(message-draft-p)
Sebastian Tennant <sebyte <at> smolny.plus.com>
2008-04-01 07:09:25 GMT
2008-04-01 07:09:25 GMT
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

RSS Feed