From 1848881661a8271891e6806af061764fb0fb7a12 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 8 Oct 2013 21:25:44 +0100 Subject: Emacs: remove unnecessary lambda function --- emacs/init.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/emacs/init.el b/emacs/init.el index 2182f38..6d2dafe 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -1058,8 +1058,7 @@ Also returns nil if pid is nil." (use-package cc-mode :defer t :init (progn - (add-hook 'c-mode-common-hook (lambda () - (electric-indent-mode 1)))) + (add-hook 'c-mode-common-hook #'electric-indent-mode)) :config (progn (setq c-default-style '((java-mode . "java") (awk-mode . "awk") -- cgit 1.4.1