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:
parent
2d837c61b1
commit
30694e8e9e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue