indent-for-tab-command: Deal with large point or modiff values.
* lisp/indent.el (indent-for-tab-command): Don't use 'eq' to compare integers that aren't guaranteed to be fixnums.
This commit is contained in:
parent
c723401151
commit
64109fcae7
1 changed files with 2 additions and 2 deletions
|
@ -182,8 +182,8 @@ prefix argument is ignored."
|
|||
(cond
|
||||
;; If the text was already indented right, try completion.
|
||||
((and (eq tab-always-indent 'complete)
|
||||
(eq old-point (point))
|
||||
(eq old-tick (buffer-chars-modified-tick))
|
||||
(eql old-point (point))
|
||||
(eql old-tick (buffer-chars-modified-tick))
|
||||
(or (null tab-first-completion)
|
||||
(eq last-command this-command)
|
||||
(and (equal tab-first-completion 'eol)
|
||||
|
|
Loading…
Add table
Reference in a new issue