diff lisp/window.el @ 98886:49a2b54dc78a

(enlarge-window-horizontally, shrink-window-horizontally): Make argument names follow Elisp manual.
author Martin Rudalics <rudalics@gmx.at>
date Sun, 19 Oct 2008 13:56:26 +0000
parents 234a18b5c81e
children 6fff8b7a31ca
line wrap: on
line diff
--- 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."