(fit-window-to-buffer): Use with-selected-window and
authorMartin Rudalics <rudalics@gmx.at>
Thu, 11 Dec 2008 17:17:44 +0000 (17:17 +0000)
committerMartin Rudalics <rudalics@gmx.at>
Thu, 11 Dec 2008 17:17:44 +0000 (17:17 +0000)
commitf7baca2087406d3d45d2662a8b3fca43f938d537
treeb4bfbabf366e9725b2b816f9c27414dfb077599c
parent8ec71e2341172ad01138c2b5c80623eb99a35549
(fit-window-to-buffer): Use with-selected-window and
condition-case.  Do not delete more windows than necessary in
the shrinking (delta < 0) case.  Do not raise an error when the
containing frame is too small to show all of buffer.  (Bug#1488)
lisp/window.el