From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Docstring of shrink-window-if-larger-than-buffer Date: Tue, 24 May 2005 10:55:56 +0200 Message-ID: Reply-To: Juanma Barranquero NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1116926639 2723 80.91.229.2 (24 May 2005 09:23:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 May 2005 09:23:59 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 24 11:23:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DaVcH-0003DF-I3 for ged-emacs-devel@m.gmane.org; Tue, 24 May 2005 11:22:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DaVfu-0006Qs-Gh for ged-emacs-devel@m.gmane.org; Tue, 24 May 2005 05:26:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DaVQp-0004I2-Ij for emacs-devel@gnu.org; Tue, 24 May 2005 05:10:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DaVQo-0004Gq-BH for emacs-devel@gnu.org; Tue, 24 May 2005 05:10:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DaVQn-0003py-9z for emacs-devel@gnu.org; Tue, 24 May 2005 05:10:33 -0400 Original-Received: from [64.233.184.199] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DaVCn-0003kX-CD for emacs-devel@gnu.org; Tue, 24 May 2005 04:56:05 -0400 Original-Received: by wproxy.gmail.com with SMTP id 50so2613406wri for ; Tue, 24 May 2005 01:55:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=pKvu03Mmu1eWWJI/hlKs/SxF4IAw24Xw28nx40Mv3GMoEwuBVVrPHxITB0Mx1dUcAC96DqdAZu/VAU/+5UPWslsKAurUxWtVY1nSmjm2A1IbmYAzbd+rSUmomQSMew+Iu2IpBXE00bFiLsGf+4IPazkWxu8VFF2fV+5vs8Vccvk= Original-Received: by 10.54.76.12 with SMTP id y12mr4171095wra; Tue, 24 May 2005 01:55:56 -0700 (PDT) Original-Received: by 10.54.82.6 with HTTP; Tue, 24 May 2005 01:55:56 -0700 (PDT) Original-To: emacs-devel@gnu.org Content-Disposition: inline X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:37554 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37554 I've modified the docstring of `shrink-window-if-larger-than-buffer' to remove the promise that it would "return non-nil if the window was shrunk", introduced with this change: 2000-11-21 Stefan Monnier * window.el: General comment and spacing fixes. (save-selected-window): Use backquotes. (window-safely-shrinkable-p): New function. (shrink-window-if-larger-than-buffer): Use it. and which has never been fulfilled, AFAICS; certainly not now (the function returns the result of `fit-window-to-buffer', which does not make that promise) and not before (it used `shrink-window', which does not make it either). If someone believes the proposed behavior was important, I'll fix the function and revert the docstring, but nobody has complained in more than four years, so... --=20 /L/e/k/t/u