Add function docstring to magit advice

Without a docstring, thanks to how defadvice! is expanded
the (interactive ...) block is not the first part of the function body,
and instead the symbol "nil" is.
This commit is contained in:
TEC 2024-03-26 16:28:16 +08:00
parent 2d837c61b1
commit 30694e8e9e
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
1 changed files with 1 additions and 0 deletions

View File

@ -3826,6 +3826,7 @@ the pre-filled remote URL use ssh.
#+begin_src emacs-lisp
(defadvice! +magit-remote-add--streamline-forge-a (args)
"Prompt to setup a remote using `+magit-default-forge-remote'."
:filter-args #'magit-remote-add
(interactive
(let ((default-name