From 9b8eb424eb6412da1b3f645e4cd6f65fcdc67655 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 7 Aug 2023 14:33:54 +0300 Subject: fix(tazjin/emacs): unbind dangerous telega.el shortcut The `a` shortcut of telega makes it dangerously easy to accidentally add users whose username starts with `a` to a group. This unbinds the shortcut, and leaves the member-adding function to be called manually and explicitly only. Change-Id: Iedb6291f16a299fc5d4ef824a1be6eb0a449001f Reviewed-on: https://cl.tvl.fyi/c/depot/+/9015 Reviewed-by: tazjin Autosubmit: tazjin Tested-by: BuildkiteCI --- users/tazjin/emacs/config/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'users') diff --git a/users/tazjin/emacs/config/init.el b/users/tazjin/emacs/config/init.el index 8383f8ac33bf..a920bca8609c 100644 --- a/users/tazjin/emacs/config/init.el +++ b/users/tazjin/emacs/config/init.el @@ -226,7 +226,8 @@ (setq common-lisp-hyperspec-root "file:///home/tazjin/docs/lisp/")) (use-package telega - :bind (:map global-map ("s-t" . telega)) + :bind (:map global-map ("s-t" . telega) + :map telega-chat-button-map ("a" . ignore)) :config (telega-mode-line-mode 1) :custom (telega-emoji-use-images nil) :hook (telega-chat-mode . company-mode)) -- cgit 1.4.1