From c7f15dfa80f5d104fa2b7faf06298a88160b59d9 Mon Sep 17 00:00:00 2001 From: Mauro Aranda Date: Sat, 2 Jan 2021 11:59:36 -0300 Subject: [PATCH] Fix Quit button in dictionary buffer * lisp/net/dictionary.el (dictionay-close): Changing the arity of the function in cc5f2803785c5dc785f09a292313cf799e8d29bb was a mistake. Restore it, but mark the argument as unused to avoid a wrong-number-of-arguments error when using the Quit button. --- lisp/net/dictionary.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el index 07f44ba035b..f8733429e94 100644 --- a/lisp/net/dictionary.el +++ b/lisp/net/dictionary.el @@ -516,7 +516,7 @@ The connection takes the proxy setting in customization group ;; Dealing with closing the buffer ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(defun dictionary-close () +(defun dictionary-close (&rest ignored) "Close the current dictionary buffer and its connection." (interactive) (if (eq major-mode 'dictionary-mode) -- 2.39.5