changeset 54517:b4c64a995036

(list-one-abbrev-table): Use window-width instead of frame-width.
author Juri Linkov <juri@jurta.org>
date Tue, 23 Mar 2004 07:35:59 +0000
parents 796bcfb5fa61
children ee587e56fbc4
files lisp/abbrevlist.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/abbrevlist.el	Tue Mar 23 07:35:35 2004 +0000
+++ b/lisp/abbrevlist.el	Tue Mar 23 07:35:59 2004 +0000
@@ -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)))