branch: externals/ampc commit 90db166e1526c3b07606c84619139e243a59c583 Author: Christopher Schmidt <christop...@ch.ristopher.com> Commit: Christopher Schmidt <christop...@ch.ristopher.com>
Fix ampc-with-selection. --- ampc.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ampc.el b/ampc.el index cf44a8d683..100b4b87dd 100644 --- a/ampc.el +++ b/ampc.el @@ -425,11 +425,11 @@ This hook is called as the first thing when ampc is started." (goto-char (point-min)) (search-forward-regexp "^* " nil t))) (loop initially (goto-char (point-min)) + finally (ampc-align-point) while (search-forward-regexp "^* " nil t) for index from 0 do (save-excursion - ,@body) - (ampc-next-line)) + ,@body)) (loop until (eobp) for index from 0 to (1- (prefix-numeric-value arg-)) do (save-excursion