diff options
| author | Glenn Morris | 2017-12-16 12:18:45 -0800 |
|---|---|---|
| committer | Glenn Morris | 2017-12-16 12:18:45 -0800 |
| commit | 8e46d93dcdabfa9fb099345fa12378479b4dbe63 (patch) | |
| tree | 3586203b53367f0bc71460e31caee41a79b84d8f /src/frame.c | |
| parent | da2c441079c74b18399176df3f92613436ef53dc (diff) | |
| parent | 28e0261890e6335cb49cc03c47c206ce9c022448 (diff) | |
| download | emacs-8e46d93dcdabfa9fb099345fa12378479b4dbe63.tar.gz emacs-8e46d93dcdabfa9fb099345fa12378479b4dbe63.zip | |
Merge from origin/emacs-26
28e0261890 * lisp/progmodes/cc-defs.el (c-version): Update to 5.33.1.
ac53084f9b Improve fix for Bug#29712
ffd4771560 * doc/lispref/sequences.texi (Sequence Functions): Improve...
f274cbd185 Avoid reordering of output in 'shr-insert-document'
7890864413 Improve documentation of 'invisible-p'
a1327bbc64 Remove one more check that Vframe_list is non-nil
63b6281fdd Fix off-by-one error in 'css--hex-color'
804b37ca63 Save and restore text-pixel height and width of frames (Bu...
777fe94661 Partially revert "Mention new strictness for &optional, &r...
ad17db7964 * lisp/vc/smerge-mode.el (smerge-refine): Respect font-loc...
5a7d0095a4 * lisp/vc/smerge-mode.el (smerge-refine): Replace obsolete...
e019c35df6 FOR_EACH_FRAME no longer assumes frame-list
d64b88da2f * src/font.c (Ffont_info): Doc fix. (Bug#29682)
92b2604a7f Modernise message.el face spec syntax
b1efbe6564 Update message.el obsolete face aliases
2494c14e76 ; * lisp/comint.el (comint-terminfo-terminal): Add a :vers...
12ad276d15 Improve documentation of TERM environment variable
8ed529f0f3 Add option to configure comint TERM
889f07c352 Better support utf-8-with-signature and utf-8-hfs in XML/HTML
a2697fac0e * lisp/menu-bar.el (menu-bar-mode): Doc fix.
ffb50eace6 ; * etc/NEWS: Fix last change.
95606af8b0 Fix Bug#29712 in tramp-tests.el
9bf66c6bee Don't run FOR_EACH_FRAME when there's no frame left (Bug#2...
c2a88ec8e8 * lisp/textmodes/tex-mode.el: Ensure uncompiled file is lo...
b178870528 Remember password change for IMAP in Gnus (Bug#29692)
a21dac18bb Add %DUMBFW to the default GnuTLS priority strings
780407cff1 Small fixes prompted by make check-declare
541a60108d Fix some custom groups
e220d6e112 Fix fontification of first declaration within a C++ lambda...
aa66da220c * src/data.c (Fadd_variable_watcher): Doc fix.
f838210b01 Fix misfontification of C++ member initialization list aft...
232c6465ce Fix doc-string of Fbuffer_list
3f9aac68d7 Don't raise an extraneous frame (bug#29696)
e7b1111155 Mention new strictness for &optional, &rest in arglists (B...
4cb8696e47 Don't misfontify "foo ()" inside C++ initialization parent...
ce31e726ad Fixes for defcustoms, prompted by cus-test-opts
aacd1e14fc * lisp/net/newst-backend.el (newsticker--raw-url-list-defa...
7e2f4d3d41 * lisp/htmlfontify.el (hfy-which-etags): Fix it.
52d2a690f6 Add missing :version tags revealed by cusver-check
f5d0360234 Escape column-zero doc parens
# Conflicts:
# etc/NEWS
Diffstat (limited to 'src/frame.c')
| -rw-r--r-- | src/frame.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index 94ec9fbdc7d..09c0e79bdef 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -1608,6 +1608,8 @@ next_frame (Lisp_Object frame, Lisp_Object minibuf) | |||
| 1608 | Lisp_Object f, tail; | 1608 | Lisp_Object f, tail; |
| 1609 | int passed = 0; | 1609 | int passed = 0; |
| 1610 | 1610 | ||
| 1611 | eassume (CONSP (Vframe_list)); | ||
| 1612 | |||
| 1611 | while (passed < 2) | 1613 | while (passed < 2) |
| 1612 | FOR_EACH_FRAME (tail, f) | 1614 | FOR_EACH_FRAME (tail, f) |
| 1613 | { | 1615 | { |
| @@ -1630,6 +1632,8 @@ prev_frame (Lisp_Object frame, Lisp_Object minibuf) | |||
| 1630 | { | 1632 | { |
| 1631 | Lisp_Object f, tail, prev = Qnil; | 1633 | Lisp_Object f, tail, prev = Qnil; |
| 1632 | 1634 | ||
| 1635 | eassume (CONSP (Vframe_list)); | ||
| 1636 | |||
| 1633 | FOR_EACH_FRAME (tail, f) | 1637 | FOR_EACH_FRAME (tail, f) |
| 1634 | { | 1638 | { |
| 1635 | if (EQ (frame, f) && !NILP (prev)) | 1639 | if (EQ (frame, f) && !NILP (prev)) |
| @@ -1915,6 +1919,7 @@ delete_frame (Lisp_Object frame, Lisp_Object force) | |||
| 1915 | if (f == sf) | 1919 | if (f == sf) |
| 1916 | { | 1920 | { |
| 1917 | Lisp_Object tail; | 1921 | Lisp_Object tail; |
| 1922 | eassume (CONSP (Vframe_list)); | ||
| 1918 | 1923 | ||
| 1919 | /* Look for another visible frame on the same terminal. | 1924 | /* Look for another visible frame on the same terminal. |
| 1920 | Do not call next_frame here because it may loop forever. | 1925 | Do not call next_frame here because it may loop forever. |