[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c7f15df: Fix Quit button in dictionary buffer
From: |
Mauro Aranda |
Subject: |
master c7f15df: Fix Quit button in dictionary buffer |
Date: |
Sat, 2 Jan 2021 10:00:06 -0500 (EST) |
branch: master
commit c7f15dfa80f5d104fa2b7faf06298a88160b59d9
Author: Mauro Aranda <maurooaranda@gmail.com>
Commit: Mauro Aranda <maurooaranda@gmail.com>
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 07f44ba..f873342 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master c7f15df: Fix Quit button in dictionary buffer,
Mauro Aranda <=