From 64109fcae710a372bf7690e2da461ab71ca78dcd Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Fri, 14 Jan 2022 20:59:28 +0100 Subject: [PATCH] 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. --- lisp/indent.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2