emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Docstring of shrink-window-if-larger-than-buffer


From: Juanma Barranquero
Subject: Docstring of shrink-window-if-larger-than-buffer
Date: Tue, 24 May 2005 10:55:56 +0200

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  <address@hidden>

        * 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...

-- 
                    /L/e/k/t/u




reply via email to

[Prev in Thread] Current Thread [Next in Thread]