From 563a866ec7622fae212d12cca2785091ff48ce8b Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 18 Aug 2009 00:37:11 +0000 Subject: [PATCH] (Ffontset_font): Fix previous change. --- src/ChangeLog | 4 ++-- src/fontset.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index ec96d133a28..ac13ccbe01d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,7 +1,7 @@ -2009-08-17 Kenichi Handa +2009-08-18 Kenichi Handa * fontset.c (Ffontset_font): If a nil element is found in a - font-group vector, break the loop. + font-group vector, return nil. 2009-08-17 Chong Yidong diff --git a/src/fontset.c b/src/fontset.c index 2bac86c19c3..f8eb0c86eb8 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -2117,7 +2117,7 @@ patterns. */) val = AREF (elt, j); if (NILP (val)) - break; + return Qnil; repertory = AREF (val, 1); if (INTEGERP (repertory)) { -- 2.39.2