changeset 36971:3819e613c7c2

(Fframe_list): Don't return a tooltip frame.
author Gerd Moellmann <gerd@gnu.org>
date Sun, 25 Mar 2001 11:37:11 +0000
parents 9477128b4fad
children 3cd6671306b2
files src/frame.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Sun Mar 25 08:30:21 2001 +0000
+++ b/src/frame.c	Sun Mar 25 11:37:11 2001 +0000
@@ -807,7 +807,11 @@
        "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.