summaryrefslogtreecommitdiff
path: root/lisp/abbrevlist.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2004-03-23 07:35:59 +0000
committerJuri Linkov <juri@jurta.org>2004-03-23 07:35:59 +0000
commit4a010175570a7c229c286bd32317a6c85101a838 (patch)
treece3276d00fbacaac9fab3a933c7c97a8c5cd466f /lisp/abbrevlist.el
parentbd48e7c618ef107972df86eeb5ae9edac5883cf7 (diff)
downloademacs-4a010175570a7c229c286bd32317a6c85101a838.tar.gz
(list-one-abbrev-table): Use window-width instead of frame-width.
Diffstat (limited to 'lisp/abbrevlist.el')
-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)))