changeset 37367:160182fbcbbf

(indent-for-tab-command): Call indent-line-function with no argument if PREFIX-ARG is non-nil.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 17 Apr 2001 16:33:10 +0000
parents 0bef27649ba5
children b7d4fcac15ae
files lisp/indent.el
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/indent.el	Tue Apr 17 16:20:33 2001 +0000
+++ b/lisp/indent.el	Tue Apr 17 16:33:10 2001 +0000
@@ -1,6 +1,6 @@
 ;;; indent.el --- indentation commands for Emacs
 
-;; Copyright (C) 1985, 1995 Free Software Foundation, Inc.
+;; Copyright (C) 1985, 1995, 2001 Free Software Foundation, Inc.
 
 ;; Maintainer: FSF
 
@@ -65,9 +65,7 @@
 	  (and (not tab-always-indent)
 	       (> (current-column) (current-indentation))))
       (insert-tab prefix-arg)
-    (if prefix-arg
-	(funcall indent-line-function prefix-arg)
-      (funcall indent-line-function))))
+    (funcall indent-line-function)))
 
 (defun insert-tab (&optional prefix-arg)
   (let ((count (prefix-numeric-value prefix-arg)))