summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/abbrevlist.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/abbrevlist.el b/lisp/abbrevlist.el
index 77cf920b422..9c8b0e0d583 100644
--- a/lisp/abbrevlist.el
+++ b/lisp/abbrevlist.el
@@ -39,7 +39,7 @@
abbrev-table)
(setq abbrev-list (sort abbrev-list 'string-lessp))
(while abbrev-list
- (if (> (+ first-column 40) (frame-width))
+ (if (> (+ first-column 40) (window-width))
(progn
(insert "\n")
(setq first-column 0)))