1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 14:10:47 -08:00

(Flast_nonminibuf_frame): Handle the NULL case.

This commit is contained in:
Stefan Monnier 2008-06-07 13:52:12 +00:00
parent 3436ab424b
commit 4958ed94ef
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2008-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
* dispnew.c (Flast_nonminibuf_frame): Handle the NULL case.
2008-06-06 Miles Bader <miles@gnu.org>
* xdisp.c (x_produce_glyphs): Calculate tab width based on current

View file

@ -7066,9 +7066,10 @@ DEFUN ("last-nonminibuffer-frame", Flast_nonminibuf_frame,
doc: /* Value is last nonminibuffer frame. */)
()
{
Lisp_Object frame;
Lisp_Object frame = Qnil;
XSETFRAME (frame, last_nonminibuf_frame);
if (last_nonminibuf_frame)
XSETFRAME (frame, last_nonminibuf_frame);
return frame;
}