diff lisp/indent.el @ 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 6da78b4b7be2
children 9fb3fc20b9b0
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)))