info-gnus-english
[Top][All Lists]
Advanced

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

another simple question about hooks


From: David Rod
Subject: another simple question about hooks
Date: Sat, 10 Nov 2007 11:58:10 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (windows-nt)

(defun david-r-turn-on-text-stuff ()
  (flyspell-mode 1)
  (abbrev-mode 1)
 )

(add-hook 'text-mode-hook 'david-r-turn-on-text-stuff)

this works fine.  I want to add a (mark-whole-buffer)
(canonically-space-region)
Whenever I try this, this renders new messages and follow-ups
 by gnus inoperable 
Also another question.  is there a hook by killing a buffer which
contains a file with the extension as .txt ?

-- 


reply via email to

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