aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2002-02-01 21:44:26 +0000
committerStefan Monnier2002-02-01 21:44:26 +0000
commite30ce0986a2efbb99806a9e9d48315403a7e2c67 (patch)
tree124bf63ab6bbb28b5f2ebe46bf584472e18cb834
parent62cec9fefe0b0b2e51736aac876011acc967f32c (diff)
downloademacs-e30ce0986a2efbb99806a9e9d48315403a7e2c67.tar.gz
emacs-e30ce0986a2efbb99806a9e9d48315403a7e2c67.zip
(indent-for-tab-command): Remove spurious code.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/indent.el4
2 files changed, 3 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 099f5334cac..18d3db9cc90 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12002-02-01 Stefan Monnier <monnier@cs.yale.edu> 12002-02-01 Stefan Monnier <monnier@cs.yale.edu>
2 2
3 * indent.el (indent-for-tab-command): Remove spurious code.
4
3 * hi-lock.el (hi-lock-find-patterns): Save restriction. 5 * hi-lock.el (hi-lock-find-patterns): Save restriction.
4 6
52002-02-01 Eli Zaretskii <eliz@is.elta.co.il> 72002-02-01 Eli Zaretskii <eliz@is.elta.co.il>
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
84 ;; so we force it to always insert a tab here. 84 ;; so we force it to always insert a tab here.
85 (eq indent-line-function 'indent-to-left-margin) 85 (eq indent-line-function 'indent-to-left-margin)
86 (and (not tab-always-indent) 86 (and (not tab-always-indent)
87 (> (current-column) (current-indentation))) 87 (> (current-column) (current-indentation))))
88 (and (not (eq tab-always-indent 'always))
89 (eq this-command last-command)))
90 (insert-tab arg)) 88 (insert-tab arg))
91 ;; Those functions are meant specifically for tabbing and not for 89 ;; Those functions are meant specifically for tabbing and not for
92 ;; indenting, so we can't pass them to indent-according-to-mode. 90 ;; indenting, so we can't pass them to indent-according-to-mode.