From: Eli Zaretskii Date: Thu, 25 Oct 2001 20:48:33 +0000 (+0000) Subject: (Fframe_parameter): Fix last change. X-Git-Tag: ttn-vms-21-2-B4~19151 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b23236fbe35fd850428ece919333ba9af28e67be;p=emacs.git (Fframe_parameter): Fix last change. --- diff --git a/src/ChangeLog b/src/ChangeLog index 94c596df8ed..0083f018313 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-10-25 Eli Zaretskii + + * frame.c (Fframe_parameter): Fix last change. + 2001-10-25 Gerd Moellmann * frame.c (Fframe_parameter): Fix a bug whereby some diff --git a/src/frame.c b/src/frame.c index 8720d7a3ae9..8d9ef248d01 100644 --- a/src/frame.c +++ b/src/frame.c @@ -2121,10 +2121,11 @@ If FRAME is nil, describe the currently selected frame. */) } } } + else + value = Fcdr (Fassq (parameter, Fframe_parameters (frame))); } else if (EQ (parameter, Qdisplay_type) || EQ (parameter, Qbackground_mode)) - /* Avoid consing in frequent cases. */ value = Fcdr (Fassq (parameter, f->param_alist)); else value = Fcdr (Fassq (parameter, Fframe_parameters (frame)));