changeset 43424:444fb6708a66

(tar-next-line, tar-previous-line): Add doc string, call the argument "arg" to match plain next-line and previous-line. From Kevin Ryde <user42@zip.com.au>.
author Pavel Janík <Pavel@Janik.cz>
date Wed, 20 Feb 2002 09:03:38 +0000
parents 3a576cd9f462
children 943d6207cba5
files lisp/tar-mode.el
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/tar-mode.el	Tue Feb 19 17:53:07 2002 +0000
+++ b/lisp/tar-mode.el	Wed Feb 20 09:03:38 2002 +0000
@@ -609,14 +609,16 @@
 	  (setq tar-header-offset old-offset)))))
 
 
-(defun tar-next-line (p)
+(defun tar-next-line (arg)
+  "Move cursor vertically down ARG lines and to the start of the filename."
   (interactive "p")
-  (forward-line p)
+  (forward-line arg)
   (if (eobp) nil (forward-char (if tar-mode-show-date 54 36))))
 
-(defun tar-previous-line (p)
+(defun tar-previous-line (arg)
+  "Move cursor vertically up ARG lines and to the start of the filename."
   (interactive "p")
-  (tar-next-line (- p)))
+  (tar-next-line (- arg)))
 
 (defun tar-current-descriptor (&optional noerror)
   "Return the tar-descriptor of the current line, or signals an error."