From: Stefan Monnier Date: Fri, 1 Feb 2002 21:44:26 +0000 (+0000) Subject: (indent-for-tab-command): Remove spurious code. X-Git-Tag: ttn-vms-21-2-B4~16890 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e30ce0986a2efbb99806a9e9d48315403a7e2c67;p=emacs.git (indent-for-tab-command): Remove spurious code. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 099f5334cac..18d3db9cc90 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2002-02-01 Stefan Monnier + * indent.el (indent-for-tab-command): Remove spurious code. + * hi-lock.el (hi-lock-find-patterns): Save restriction. 2002-02-01 Eli Zaretskii diff --git a/lisp/indent.el b/lisp/indent.el index 81bc00af63d..a55f9afed8e 100644 --- a/lisp/indent.el +++ b/lisp/indent.el @@ -84,9 +84,7 @@ The function actually called to indent is determined by the value of ;; so we force it to always insert a tab here. (eq indent-line-function 'indent-to-left-margin) (and (not tab-always-indent) - (> (current-column) (current-indentation))) - (and (not (eq tab-always-indent 'always)) - (eq this-command last-command))) + (> (current-column) (current-indentation)))) (insert-tab arg)) ;; Those functions are meant specifically for tabbing and not for ;; indenting, so we can't pass them to indent-according-to-mode.