From: Eli Zaretskii Date: Sun, 25 Mar 2001 18:37:29 +0000 (+0000) Subject: (Fframe_list): Don't reference tip_frame if HAVE_WINDOW_SYSTEM is not defined. X-Git-Tag: emacs-pretest-21.0.101~175 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6a65b1b512446bc33c92efbad765194f681baa30;p=emacs.git (Fframe_list): Don't reference tip_frame if HAVE_WINDOW_SYSTEM is not defined. --- diff --git a/src/ChangeLog b/src/ChangeLog index 86ec6b1a13d..3281ff8fef1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2001-03-25 Eli Zaretskii + * frame.c (Fframe_list): Don't reference tip_frame if + HAVE_WINDOW_SYSTEM is not defined. + * emacs.c (main): Update the copyright year. From Werner LEMBERG . diff --git a/src/frame.c b/src/frame.c index 7c6cd89a196..3e84a3d81cf 100644 --- a/src/frame.c +++ b/src/frame.c @@ -809,8 +809,10 @@ DEFUN ("frame-list", Fframe_list, Sframe_list, { Lisp_Object frames; frames = Fcopy_sequence (Vframe_list); +#ifdef HAVE_WINDOW_SYSTEM if (FRAMEP (tip_frame)) frames = Fdelq (tip_frame, frames); +#endif return frames; }