From: Gerd Moellmann <gerd@gnu.org>
Date: Tue, 17 Apr 2001 16:33:10 +0000 (+0000)
Subject: (indent-for-tab-command): Call indent-line-function
X-Git-Tag: emacs-pretest-21.0.103~193
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=61294601ffb1c131a44ebcb98e039e0a3aec97de;p=emacs.git

(indent-for-tab-command): Call indent-line-function
with no argument if PREFIX-ARG is non-nil.
---

diff --git a/lisp/indent.el b/lisp/indent.el
index 648d928a1f3..a558ff26d5b 100644
--- a/lisp/indent.el
+++ b/lisp/indent.el
@@ -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 @@ The function actually called to indent is determined by the value of
 	  (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)))