diff --git a/emacs/init.org b/emacs/init.org index 53f1b76..98bb9ee 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -5331,7 +5331,7 @@ The aws-mfa command: "~/lola/release-manager/release_notes") "The directory containing the release notes repository.") - (defun lola-release-notes (staged) + (defun lola-release-notes (staged &optional repos) "Prints release notes for the latest release. If called with a prefix argument, prints release notes for the upcoming release instead." @@ -5340,10 +5340,12 @@ The aws-mfa command: "lola-travel-service" "lola-desktop")) (repos - (if (y-or-n-p "Query all repos?") - all-repos - (completing-read-multiple "Repos: " - all-repos)))) + (or + repos + (if (y-or-n-p "Query all repos?") + all-repos + (completing-read-multiple "Repos: " + all-repos))))) (with-env-from-file (expand-file-name (concat release-notes-repo "/.env")) (async-shell-command