all repos — nixfiles @ 1848881661a8271891e6806af061764fb0fb7a12

System and user configuration, managed by nix and home-manager

Emacs: remove unnecessary lambda function
Alan Pearce alan@alanpearce.co.uk
Tue, 08 Oct 2013 21:25:44 +0100
commit

1848881661a8271891e6806af061764fb0fb7a12

parent

bd5457d65b55bb66485090b81d0ea0f13473fdbe

1 files changed, 1 insertions(+), 2 deletions(-)

jump to
M emacs/init.elemacs/init.el
@@ -1058,8 +1058,7 @@ (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")