Skip to content

Commit

Permalink
use cl-do instead of do
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Feb 23, 2013
1 parent 9d206bc commit 3300976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magit-key-mode.el
Expand Up @@ -269,7 +269,7 @@ The user is prompted for the key."
(goto-char (point-min))
(let* ((exec (get-text-property (point) 'key-group-executor))
(exec-alist (if exec `((,exec . ,(point))) nil)))
(do nil ((eobp) (nreverse exec-alist))
(cl-do nil ((eobp) (nreverse exec-alist))
(when (not (eq exec (get-text-property (point) 'key-group-executor)))
(setq exec (get-text-property (point) 'key-group-executor))
(when exec (push (cons exec (point)) exec-alist)))
Expand Down

0 comments on commit 3300976

Please sign in to comment.