[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c189ce5a33: Remove the 'C-k' binding in ido-mode
From: |
Lars Ingebrigtsen |
Subject: |
master c189ce5a33: Remove the 'C-k' binding in ido-mode |
Date: |
Sun, 13 Feb 2022 05:24:28 -0500 (EST) |
branch: master
commit c189ce5a33d93dd74529a6ad091f55b5ef60ac19
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Remove the 'C-k' binding in ido-mode
* lisp/ido.el (ido-file-completion-map): Remove the `C-k' binding,
because it's too dangerous and probably not very useful (bug#44556).
---
etc/NEWS | 8 ++++++++
lisp/ido.el | 1 -
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/etc/NEWS b/etc/NEWS
index 169208d94f..6f5edfafc5 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -103,6 +103,14 @@ of 'user-emacs-directory'.
* Incompatible changes in Emacs 29.1
+---
+** 'C-k' no longer deletes files in 'ido-mode'.
+To get the previous action back, put something like the following in
+your init file:
+
+ (require 'ido)
+ (keymap-set ido-file-completion-map "C-k" #'ido-delete-file-at-head)
+
---
** New user option 'term-clear-full-screen-programs'.
By default, term will now work like most terminals when displaying
diff --git a/lisp/ido.el b/lisp/ido.el
index 58cec3deb0..e068028d91 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -978,7 +978,6 @@ The fallback command is passed as an argument to the
functions."
(defvar-keymap ido-file-completion-map
:doc "Keymap for Ido file commands."
:parent ido-file-dir-completion-map
- "C-k" #'ido-delete-file-at-head
"C-o" #'ido-copy-current-word
"C-w" #'ido-copy-current-file-name
"M-l" #'ido-toggle-literal)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master c189ce5a33: Remove the 'C-k' binding in ido-mode,
Lars Ingebrigtsen <=