]> git.eshelyaron.com Git - kubed.git/commitdiff
(kubed-list-next-column): Fix error when called at end of buffer.
authorEshel Yaron <me@eshelyaron.com>
Tue, 11 Feb 2025 17:18:51 +0000 (18:18 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 11 Feb 2025 17:32:15 +0000 (18:32 +0100)
kubed.el

index c5f7287378459fd3868b7b7aec1af67964787d7a..7891e1ab4ad70997dbdb199b33b9bd0f7c708d17 100644 (file)
--- a/kubed.el
+++ b/kubed.el
@@ -696,7 +696,7 @@ to 1."
                   #'previous-single-property-change)))
     (dotimes (_ times)
       (setq next (funcall dir-fn next 'tabulated-list-column-name))
-      (when (= (char-after next) ?\n)
+      (when (equal (char-after next) ?\n)
         ;; At line boundary, go to first/last column of next line.
         (setq next (funcall dir-fn next 'tabulated-list-column-name)))
       (unless next (user-error "End of table")))