emacs: Use cl-incf where appropriate

It's shorter.  That's it pretty much.
This commit is contained in:
Jonas Bernoulli 2020-08-08 13:50:03 +02:00 committed by David Bremner
parent 42781f1821
commit 9946380e47
2 changed files with 2 additions and 2 deletions

View file

@ -609,7 +609,7 @@ with `notmuch-hello-query-counts'."
name)
(setq column-indent
(1+ (max 0 (- column-width (length name)))))))
(setq count (1+ count))
(cl-incf count)
(when (eq (% count tags-per-line) 0)
(setq column-indent 0)
(widget-insert "\n")))

View 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))