Fix previous fix of enlarge-/shrink-window
commit620951fe22a6ecc2edc1f78d961f52566a7fe2b6
authorMartin Rudalics <rudalics@gmx.at>
Fri, 4 Mar 2016 07:37:53 +0000 (4 08:37 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Fri, 4 Mar 2016 07:37:53 +0000 (4 08:37 +0100)
tree0c53a8f7b4857e359116ab74e420fe6114e972ae
parent2e78353fabe11c768627c50e48375de5693ce7ee
Fix previous fix of enlarge-/shrink-window

* lisp/window.el (enlarge-window, shrink-window): Consistently
signal user-error instead of error.  Resize minibuffer window by
delta lines instead of pixels.  When a window cannot be resized,
signal an error only when this function was invoked by a command
in the enlarge-/shrink-window group (this restores the behavior
before the fix of bug#22723 for the non-interactive case).
lisp/window.el