From 30694e8e9e8c1362c462e4578248fe32a72a2697 Mon Sep 17 00:00:00 2001 From: TEC Date: Tue, 26 Mar 2024 16:28:16 +0800 Subject: [PATCH] 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. --- config.org | 1 + 1 file changed, 1 insertion(+) diff --git a/config.org b/config.org index 3d70bcf..93c30cc 100644 --- a/config.org +++ b/config.org @@ -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