aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 167aece973a..52d1275451b 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -969,6 +969,8 @@ static Lisp_Object
969nth_minibuffer (EMACS_INT depth) 969nth_minibuffer (EMACS_INT depth)
970{ 970{
971 Lisp_Object tail = Fnthcdr (make_fixnum (depth), Vminibuffer_list); 971 Lisp_Object tail = Fnthcdr (make_fixnum (depth), Vminibuffer_list);
972 if (NILP (tail))
973 return Qnil;
972 return XCAR (tail); 974 return XCAR (tail);
973} 975}
974 976