From: Philipp Stephani Date: Fri, 14 Jan 2022 19:59:28 +0000 (+0100) Subject: indent-for-tab-command: Deal with large point or modiff values. X-Git-Tag: emacs-29.0.90~3048 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=64109fcae710a372bf7690e2da461ab71ca78dcd;p=emacs.git 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. --- diff --git a/lisp/indent.el b/lisp/indent.el index 8dc4c31f135..ad6fd899c55 100644 --- a/lisp/indent.el +++ b/lisp/indent.el @@ -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)