From xemacs-m  Tue Apr 29 16:36:25 1997
Received: from hubbub.cisco.com (mailgate-sj-1.cisco.com [198.92.30.31])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id QAA06136
	for <xemacs-beta@xemacs.org>; Tue, 29 Apr 1997 16:36:24 -0500 (CDT)
Received: from sandman (sandman.cisco.com [171.70.19.29]) by hubbub.cisco.com (8.8.4-Cisco.1/CISCO.GATE.1.1) with ESMTP id OAA02109; Tue, 29 Apr 1997 14:35:54 -0700 (PDT)
Received: (from drich@localhost) by sandman (SMI-8.6/8.6.12) id OAA02940; Tue, 29 Apr 1997 14:35:53 -0700
From: Dan Rich <drich@cisco.com>
Message-Id: <199704292135.OAA02940@sandman>
Subject: Re: sudccess with 20.2b3 on Solaris 2.5.1 (with problems)
To: steve@miranova.com (Steven L Baur)
Date: Tue, 29 Apr 1997 14:35:52 -0700 (PDT)
Cc: xemacs-beta@xemacs.org
In-Reply-To: <m2afmh3cmk.fsf@altair.xemacs.org> from "Steven L Baur" at Apr 29, 97 11:30:43 am
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

> 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.

If anyone is out here in San Jose, can you please swing by Cisco and kick
me in the head!  I *really* know better than that!!!! :-)

Thanks Steve, I think I'll go crawl back in my cave with the Perl scribblings
on the walls now.

