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:
Philipp Stephani 2022-01-14 20:59:28 +01:00
parent c723401151
commit 64109fcae7

View file

@ -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)