Mercurial > hg > xemacs-beta
diff lisp/prim/lisp.el @ 98:0d2f883870bc r20-1b1
Import from CVS: tag r20-1b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:13:56 +0200 |
parents | c0c698873ce1 |
children | 9f59509498e1 |
line wrap: on
line diff
--- a/lisp/prim/lisp.el Mon Aug 13 09:12:43 2007 +0200 +++ b/lisp/prim/lisp.el Mon Aug 13 09:13:56 2007 +0200 @@ -327,8 +327,9 @@ (setq list (nreverse new)))) (with-output-to-temp-buffer "*Completions*" (display-completion-list list)) - (shrink-window-if-larger-than-buffer - (get-buffer-window "*Completions*"))) + (when temp-buffer-shrink-to-fit + (shrink-window-if-larger-than-buffer + (get-buffer-window "*Completions*")))) (message "Making completion list...%s" "done"))))) ;;; lisp.el ends here