Commit 4958ed94 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(Flast_nonminibuf_frame): Handle the NULL case.

parent 3436ab42
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> 2008-06-06 Miles Bader <miles@gnu.org>
* xdisp.c (x_produce_glyphs): Calculate tab width based on current * xdisp.c (x_produce_glyphs): Calculate tab width based on current
......
...@@ -7066,9 +7066,10 @@ DEFUN ("last-nonminibuffer-frame", Flast_nonminibuf_frame, ...@@ -7066,9 +7066,10 @@ DEFUN ("last-nonminibuffer-frame", Flast_nonminibuf_frame,
doc: /* Value is last nonminibuffer 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; return frame;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment