emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 64109fcae7 2/3: indent-for-tab-command: Deal with large point or


From: Philipp Stephani
Subject: master 64109fcae7 2/3: indent-for-tab-command: Deal with large point or modiff values.
Date: Fri, 14 Jan 2022 15:03:16 -0500 (EST)

branch: master
commit 64109fcae710a372bf7690e2da461ab71ca78dcd
Author: Philipp Stephani <phst@google.com>
Commit: Philipp Stephani <phst@google.com>

    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 8dc4c31f13..ad6fd899c5 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]