# HG changeset patch # User Martin Rudalics # Date 1224424586 0 # Node ID 49a2b54dc78a3c85bd929bb58767834b7167e2f8 # Parent 263e92c6c5f865fec1fbea91445b4dd1e1fcf9a1 (enlarge-window-horizontally, shrink-window-horizontally): Make argument names follow Elisp manual. diff -r 263e92c6c5f8 -r 49a2b54dc78a lisp/window.el --- a/lisp/window.el Sun Oct 19 13:50:25 2008 +0000 +++ b/lisp/window.el Sun Oct 19 13:56:26 2008 +0000 @@ -1194,15 +1194,19 @@ (enlarge-window delta)))))) -(defun enlarge-window-horizontally (arg) - "Make current window ARG columns wider." +(defun enlarge-window-horizontally (columns) + "Make selected window COLUMNS wider. +Interactively, if no argument is given, make selected window one +column wider." (interactive "p") - (enlarge-window arg t)) + (enlarge-window columns t)) -(defun shrink-window-horizontally (arg) - "Make current window ARG columns narrower." +(defun shrink-window-horizontally (columns) + "Make selected window COLUMNS narrower. +Interactively, if no argument is given, make selected window one +column narrower." (interactive "p") - (shrink-window arg t)) + (shrink-window columns t)) (defun window-buffer-height (window) "Return the height (in screen lines) of the buffer that WINDOW is displaying."