[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 a1327bb: Remove one more check that Vframe_list i
From: |
Martin Rudalics |
Subject: |
[Emacs-diffs] emacs-26 a1327bb: Remove one more check that Vframe_list is non-nil |
Date: |
Sat, 16 Dec 2017 04:15:07 -0500 (EST) |
branch: emacs-26
commit a1327bbc645efa42f14024785da4fed88aa7ec21
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>
Remove one more check that Vframe_list is non-nil
* src/dispnew.c (check_glyph_memory): Remove no-longer-needed
check that Vframe_list is non-nil, as FOR_EACH_FRAME no longer
assumes that.
---
src/dispnew.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/dispnew.c b/src/dispnew.c
index d078647..b0fc5c3 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2260,9 +2260,8 @@ check_glyph_memory (void)
Lisp_Object tail, frame;
/* Free glyph memory for all frames. */
- if (!NILP (Vframe_list))
- FOR_EACH_FRAME (tail, frame)
- free_glyphs (XFRAME (frame));
+ FOR_EACH_FRAME (tail, frame)
+ free_glyphs (XFRAME (frame));
#if defined GLYPH_DEBUG && defined ENABLE_CHECKING
/* Check that nothing is left allocated. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 a1327bb: Remove one more check that Vframe_list is non-nil,
Martin Rudalics <=