Commit 61294601 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(indent-for-tab-command): Call indent-line-function

with no argument if PREFIX-ARG is non-nil.
parent c095a1dd
;;; 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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment