* mouse.el (mouse-split-window-vertically): If the user clicks too
close to the top or bottom of a window, split at the closest reasonable line. Give a helpful error message if the window is too small to be split anywhere. (mouse-split-window-horizontally): Similar changes.
Showing with 18 additions and 4 deletions