From xemacs-m  Tue Apr 29 13:17:40 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id NAA29485
	for <xemacs-beta@xemacs.org>; Tue, 29 Apr 1997 13:17:39 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id LAA16528;
	Tue, 29 Apr 1997 11:30:44 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: sudccess with 20.2b3 on Solaris 2.5.1 (with problems)
References: <199704291738.KAA01969@sandman>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Dan Rich's message of Tue, 29 Apr 1997 10:38:28 -0700
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 29 Apr 1997 11:30:43 -0700
Message-ID: <m2afmh3cmk.fsf@altair.xemacs.org>
Lines: 18
X-Mailer: Gnus v5.4.48/XEmacs 20.2(beta4)

Dan Rich <drich@cisco.com> writes:

>     o	I'm seeing assorted weird behavior from my .emacs file.  The
>      	one that I can't figure out at all is the following:

> 	(if (not (eq (device-type) 'tty))
> 	    (add-hook 'tipgp-:cmd-macro-before-hook 'my-ispell-message)
> 	    (add-hook 'mail-send-hook  'my-ispell-message)
> 	)
	
Your indentation looks hokey.  The second add-hook will never be
executed at the same time as the first one as it's in the false
clause of the if.  If both of the add-hook's are supposed to be
executed if not on a tty, then you need to change the `if' to `when'
or slap a `progn' around them.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

