Skip to content

Commit

Permalink
elx-update-package-requires: Cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed May 6, 2024
1 parent 4b3b0af commit 9db9f8d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions elx.el
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,8 @@ single line, or the prefix used on continuation lines."
(if (not indent)
(insert (mapconcat #'identity value " ") ")\n")
(insert "\n")
(let (line)
(while (setq line (pop value))
(insert ";;" indent line (if value "\n" ")\n")))))))))
(while-let ((line (pop value)))
(insert ";;" indent line (if value "\n" ")\n"))))))))

(defun elx--update-dependencies (value updates)
(pcase-dolist (`(,pkg ,ver) updates)
Expand Down

0 comments on commit 9db9f8d

Please sign in to comment.