(Fframe_list): Don't return a tooltip frame.
authorGerd Moellmann <gerd@gnu.org>
Sun, 25 Mar 2001 11:37:40 +0000 (11:37 +0000)
committerGerd Moellmann <gerd@gnu.org>
Sun, 25 Mar 2001 11:37:40 +0000 (11:37 +0000)
src/ChangeLog
src/frame.c

index 0f907bf..e573b9d 100644 (file)
@@ -1,3 +1,7 @@
+2001-03-25  Gerd Moellmann  <gerd@gnu.org>
+
+       * frame.c (Fframe_list): Don't return a tooltip frame.
+
 2001-03-23  Gerd Moellmann  <gerd@gnu.org>
 
        * xdisp.c (mark_window_display_accurate_1): New function, 
index 08aa8e4..7c6cd89 100644 (file)
@@ -807,7 +807,11 @@ DEFUN ("frame-list", Fframe_list, Sframe_list,
        "Return a list of all frames.")
   ()
 {
-  return Fcopy_sequence (Vframe_list);
+  Lisp_Object frames;
+  frames = Fcopy_sequence (Vframe_list);
+  if (FRAMEP (tip_frame))
+    frames = Fdelq (tip_frame, frames);
+  return frames;
 }
 
 /* Return the next frame in the frame list after FRAME.