diff options
author | Alan Pearce | 2013-10-08 21:25:44 +0100 |
---|---|---|
committer | Alan Pearce | 2013-10-08 21:25:44 +0100 |
commit | 1848881661a8271891e6806af061764fb0fb7a12 (patch) | |
tree | b04a986529ceb23a1ee6a532c74782a7a03cea93 | |
parent | bd5457d65b55bb66485090b81d0ea0f13473fdbe (diff) | |
download | dotfiles-1848881661a8271891e6806af061764fb0fb7a12.tar.lz dotfiles-1848881661a8271891e6806af061764fb0fb7a12.tar.zst dotfiles-1848881661a8271891e6806af061764fb0fb7a12.zip |
Emacs: remove unnecessary lambda function
-rw-r--r-- | emacs/init.el | 3 |
1 files changed, 1 insertions, 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") |