Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!mit-eddie!YALE.ARPA!ram-ashwin
From: ram-ashwin@YALE.ARPA (Ashwin Ram)
Newsgroups: comp.emacs
Subject: Re: Improved Calendar Window
Message-ID: <8712051730.AA26387@ATHENA.CS.YALE.EDU>
Date: Sat, 5-Dec-87 12:30:19 EST
Article-I.D.: ATHENA.8712051730.AA26387
Posted: Sat Dec  5 12:30:19 1987
Date-Received: Thu, 10-Dec-87 06:30:08 EST
Sender: daemon@eddie.MIT.EDU
Lines: 25


>    >        (or (one-window-p t)
>                  ^^^^^^^^^^^^
>                  what is this?
> 
>    On my emacs.18.35 I get:
> 
>    "Symbol's function definition is void: one-window-p"
> 
>    What am I missing?

Newer versions of GNU Emacs have the following defined in subr.el:

(defun one-window-p (&optional arg)
  "Returns non-nil if there is only one window.
Optional arg NOMINI non-nil means don't count the minibuffer
even if it is active."
  (eq (selected-window)
      (next-window (selected-window) (if arg 'arg))))

-- Ashwin Ram --

ARPA:    Ram-Ashwin@cs.yale.edu
UUCP:    {decvax,linus,seismo}!yale!Ram-Ashwin
BITNET:  Ram@yalecs