summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frame.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index 8d9ef248d01..4883f31d427 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2079,6 +2079,7 @@ If FRAME is nil, describe the currently selected frame. */)
if (FRAME_LIVE_P (f))
{
+ /* Avoid consing in frequent cases. */
if (EQ (parameter, Qname))
value = f->name;
#ifdef HAVE_X_WINDOWS