From 20f9a8f97cd01bc1bc8d064e653863ccc17d6d8b Mon Sep 17 00:00:00 2001 From: Naoya Yamashita Date: Sat, 29 Jun 2024 15:24:19 +0900 Subject: [PATCH] Remove duplicate keybinding (#3719) This keybinding was first introduced in the commit[1]. There are two lines of keybindings to `C-c C-q`, probably due to a simple mistake. [1]: 6a9bc1cc05a4e393b31c5dfb79c70179fb3233f4 --- CHANGELOG.md | 1 + cider-connection.el | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06efd7fc5..ef5e653db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - [#3714](https://github.com/clojure-emacs/cider/pull/3714): Show progress when evaluating files using `cider-load-all-files`. - [#3713](https://github.com/clojure-emacs/cider/pull/3713): Optimize `nrepl-dict-get` and deprecate its 3-argument arity. +- [#3719](https://github.com/clojure-emacs/cider/pull/3719): Clean duplicate define-key ### Bugs fixed diff --git a/cider-connection.el b/cider-connection.el index a72e014e5..35a8f2f04 100644 --- a/cider-connection.el +++ b/cider-connection.el @@ -631,7 +631,6 @@ REPL defaults to the current REPL." (define-key map (kbd "j d") #'cider-describe-connection) (define-key map (kbd "j i") #'cider-describe-connection) (define-key map (kbd "C-c C-q") #'cider-quit) - (define-key map (kbd "C-c C-q") #'cider-quit) (define-key map (kbd "C-c C-r") #'cider-restart) (define-key map (kbd "C-c M-r") #'cider-restart) (define-key map (kbd "C-c C-d") #'cider-describe-connection)