Skip to content

Commit

Permalink
Add doc-strings for many commands
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Dec 15, 2024
1 parent ee73e08 commit a46c769
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions emir-gelpa.el
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,22 @@

;;;###autoload
(defun emir-import-all-elpa-recipes (args)
"Import GNU Elpa, NonGNU Elpa and Melpa package recipes."
(interactive (list (transient-args 'emir-import-recipes)))
(emir-import-melpa-recipes args)
(emir-import-nongnu-elpa-recipes args)
(emir-import-gnu-elpa-recipes args))

;;;###autoload
(defun emir-import-nongnu-elpa-recipes (args)
"Import NonGNU Elpa package recipes."
(interactive (list (transient-args 'emir-import-recipes)))
(let ((default-directory emir-nongnu-elpa-repository ))
(emir-gelpa--import-recipes 'nongnu "NonGNU Elpa" args)))

;;;###autoload
(defun emir-import-gnu-elpa-recipes (args)
"Import GNU Elpa package recipes."
(interactive (list (transient-args 'emir-import-recipes)))
(let ((default-directory emir-gnu-elpa-repository))
(emir-gelpa--import-recipes 'gnu "GNU Elpa" args)))
Expand Down
2 changes: 2 additions & 0 deletions emir-melpa.el
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

;;;###autoload
(defun emir-import-melpa-recipes (args)
"Import Melpa package recipes."
(interactive (list (transient-args 'emir-import-recipes)))
(let* ((default-directory emir-melpa-repository)
(imported (magit-rev-verify "mirror-imported"))
Expand Down Expand Up @@ -114,6 +115,7 @@

;;;###autoload
(defun emir-import-melpa-downloads ()
"Import Melpa download counts."
(interactive)
(message "Importing Melpa downloads...")
(with-current-buffer
Expand Down
2 changes: 2 additions & 0 deletions emir-utils.el
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@

;;;###autoload
(defun emir-report ()
"Open the main maintainance report file."
(interactive)
(find-file-other-frame
(expand-file-name "compare.org" emir-stats-repository)))

(defun emir-remove-obsolete-wiki-branches ()
"Remove branches corresponding to shelved and removed packages."
(interactive)
(with-epkg-repository 'epkg-wiki-package
(dolist (branch (magit-list-local-branch-names))
Expand Down

0 comments on commit a46c769

Please sign in to comment.