unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Docstring of shrink-window-if-larger-than-buffer
@ 2005-05-24  8:55 Juanma Barranquero
  0 siblings, 0 replies; only message in thread
From: Juanma Barranquero @ 2005-05-24  8:55 UTC (permalink / raw)


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  <monnier@cs.yale.edu>

        * 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-24  8:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-24  8:55 Docstring of shrink-window-if-larger-than-buffer Juanma Barranquero

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).