]> code.delx.au - gnu-emacs/commitdiff
(indent-for-tab-command): Call indent-line-function
authorGerd Moellmann <gerd@gnu.org>
Tue, 17 Apr 2001 16:33:10 +0000 (16:33 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 17 Apr 2001 16:33:10 +0000 (16:33 +0000)
with no argument if PREFIX-ARG is non-nil.

lisp/indent.el

index 648d928a1f3b0a46b581d775411b237d704d1585..a558ff26d5b83c884e049abf00be68963f8a0c4d 100644 (file)
@@ -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)))