Mercurial > emacs
changeset 40636:1b4d4e638a5b
(tab-always-indent, indent-for-tab-command):
Remove redundant `never' setting.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 02 Nov 2001 04:57:54 +0000 |
parents | 3ff73c40de2b |
children | 9b6f792026b9 |
files | lisp/indent.el |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/indent.el Fri Nov 02 04:49:57 2001 +0000 +++ b/lisp/indent.el Fri Nov 02 04:57:54 2001 +0000 @@ -48,11 +48,10 @@ (defcustom tab-always-indent t "*Controls the operation of the TAB key. If t, hitting TAB always just indents the current line. -If `never', hitting TAB just inserts a tab. If nil, hitting TAB indents the current line if point is at the left margin or in the line's indentation, otherwise it insert a `real' tab character." :group 'indent - :type '(choice (const nil) (const t) (const never) (const always))) + :type '(choice (const nil) (const t) (const always))) (defun indent-according-to-mode () "Indent line in proper way for current major mode." @@ -81,8 +80,7 @@ `indent-line-function'." (interactive "P") (cond - ((or (eq tab-always-indent 'never) - ;; indent-to-left-margin is only meant for indenting, + ((or ;; indent-to-left-margin is only meant for indenting, ;; so we force it to always insert a tab here. (eq indent-line-function 'indent-to-left-margin) (and (not tab-always-indent)