]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-lib.el
emacs: Use cl-incf where appropriate
[notmuch] / emacs / notmuch-lib.el
index 11f6858ed65a68e4883f61dfb53130d53035dc79..91c9478186590b1e903c4ad626aea78143e3abc1 100644 (file)
@@ -413,7 +413,7 @@ of its command symbol."
         (i 0))
     (while (< i (length prefix))
       (aset prefix i (aref key i))
-      (setq i (1+ i)))
+      (cl-incf i))
     (let* ((subkeymap (key-binding prefix))
           (ua-keys (where-is-internal 'universal-argument nil t))
           (prefix-string (notmuch-prefix-key-description prefix))