From 441513584a78980189e9e9107f0f2b4991037ee4 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 14 Nov 2016 08:37:55 +0100 Subject: [PATCH] Auto-enable electric-spacing-mode in C-derived modes --- init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 5416786..8ff5aaa 100644 --- a/init.el +++ b/init.el @@ -410,8 +410,8 @@ (use-package electric-spacing :ensure t - :bind - (([f7] . electric-spacing-mode))) + :config + (add-hook 'c-mode-common-hook 'electric-spacing-mode)) (use-package emamux :ensure t)