]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fframe_list): Don't reference tip_frame if HAVE_WINDOW_SYSTEM is not defined.
authorEli Zaretskii <eliz@gnu.org>
Sun, 25 Mar 2001 18:37:29 +0000 (18:37 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sun, 25 Mar 2001 18:37:29 +0000 (18:37 +0000)
src/ChangeLog
src/frame.c

index 86ec6b1a13d5445bc0a23e7f065827acf5212ea7..3281ff8fef11df1df6503d8d6e3357590bf5d4d6 100644 (file)
@@ -1,5 +1,8 @@
 2001-03-25  Eli Zaretskii  <eliz@is.elta.co.il>
 
+       * 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
        <wl@gnu.org>.
 
index 7c6cd89a1966f7cea8f8808d87ca1f871afcb631..3e84a3d81cf210254b2b1daa4f85d6447bd6c0b0 100644 (file)
@@ -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;
 }