         (define-key projectile-mode-map [remap projectile-switch-to-buffer] nil)
         (projectile-commander-bindings))))
 
-  (eval-after-load 'projectile
-    (lambda ()
-      (counsel-projectile-toggle 1))))
+  (with-eval-after-load 'projectile
+    (counsel-projectile-toggle 1)))
 
 ;; Provides an enhanced version of Isearch that uses Ivy to display
 ;; a preview of the results.

;; if (condition) {
;;   statement;
;; }
(eval-after-load 'cc-mode
  '(progn
     (if (assoc 'other c-default-style)
         (setcdr (assoc 'other c-default-style)
                 "k&r")
       (push '(other . "k&r") c-default-style))
     (setq-default c-basic-offset 2)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; Packages: Managing Emacs

;; e.g. "C++/l" into "C++". Since we are overriding a function
;; provided by `cc-mode', which is not initially loaded, we have to
;; make sure to do so *after* it is loaded and not before.
(with-eval-after-load 'cc-mode
  (advice-add #'c-update-modeline :override #'ignore))

;; Switch to a better indentation-and-braces style. This turns the
;; following code:
