aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 9d4bb4d4e11..d5f872125fa 100644
--- a/src/window.c
+++ b/src/window.c
@@ -6177,8 +6177,8 @@ as nil. */)
6177 (Lisp_Object window) 6177 (Lisp_Object window)
6178{ 6178{
6179 struct window *w = decode_live_window (window); 6179 struct window *w = decode_live_window (window);
6180 return Fcons (make_number (w->left_margin_cols), 6180 return Fcons (w->left_margin_cols ? make_number (w->left_margin_cols) : Qnil,
6181 make_number (w->right_margin_cols)); 6181 w->right_margin_cols ? make_number (w->right_margin_cols) : Qnil);
6182} 6182}
6183 6183
6184 6184