help-debbugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 10/12] Pass offline to debbugs-gnu-show-reports as keyword; make


From: Felix Lechner
Subject: [PATCH 10/12] Pass offline to debbugs-gnu-show-reports as keyword; make space for WSDL
Date: Sun, 10 Mar 2024 12:00:47 -0700

Based on the ci-lib documentation in Emacs: "Note that it is not
possible to specify keyword arguments without specifying the optional
argument ... as well". [1]

[1] https://www.gnu.org/software/emacs/manual/html_node/cl/Argument-Lists.html

I could not find any places where the offline argument was passed.
---
 debbugs-gnu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debbugs-gnu.el b/debbugs-gnu.el
index 8f23964711..2b3a1aaaa6 100644
--- a/debbugs-gnu.el
+++ b/debbugs-gnu.el
@@ -912,7 +912,7 @@ This function assumes the variable `user-mail-address' is 
defined."
              (replace-regexp-in-string "\\`\"\\|\"\\'" "" name)))
     (cons string string)))
 
-(defun debbugs-gnu-show-reports (&optional offline)
+(cl-defun debbugs-gnu-show-reports (&key (offline nil))
   "Show bug reports.
 If OFFLINE is non-nil, the query is not sent to the server.  Bugs
 are taken from the cache instead."
-- 
2.41.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]