summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Aranda <maurooaranda@gmail.com>2021-01-02 11:59:36 -0300
committerMauro Aranda <maurooaranda@gmail.com>2021-01-02 11:59:36 -0300
commitc7f15dfa80f5d104fa2b7faf06298a88160b59d9 (patch)
tree4660a724862912c49790ac82dd3391d1453f56fa
parent4ac6148ef94fed6863c75e73ad91b565ce60cabe (diff)
downloademacs-c7f15dfa80f5d104fa2b7faf06298a88160b59d9.tar.gz
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.
-rw-r--r--lisp/net/dictionary.el2
1 files changed, 1 insertions, 1 deletions
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)