   ;; Disable fci if needed.
   (add-hook 'company-completion-started-hook (lambda (&rest ignore)
                                                (when (boundp 'fci-mode)
-                                                 (setq company-fci-mode-on-p fci-mode)
+                                                 (validate-setq company-fci-mode-on-p fci-mode)
                                                  (when fci-mode (fci-mode -1)))))
   ;; Re-enable fci if needed.
   (add-hook 'company-completion-finished-hook (lambda (&rest ignore)

  (use-package helm-ag :ensure t
    :config
    ;; Pick your favorite searcher
    ;; (setq helm-ag-base-command "pt -e --nocolor --nogroup")
    ;; (setq helm-ag-base-command "ack --nocolor --nogroup")
    ;; (setq helm-ag-base-command "sift --no-color -n")
    (setq helm-ag-base-command "ag --nocolor --nogroup"))
  (use-package helm-buffers
    :config
    (setq helm-buffers-favorite-modes (append helm-buffers-favorite-modes
                                              '(picture-mode artist-mode)))
    (setq helm-buffer-max-length 40))
  (use-package helm-files)
  (use-package helm-grep)
  (use-package helm-org

;;   (use-package smart-mode-line :ensure t)
;;   ;; Disabling, to try out dark theme.
;;   ;;  (use-package smart-mode-line-powerline-theme :ensure t)
;;   (validate-setq sml/theme 'dark
;;         sml/mule-info nil
;;         sml/show-remote nil
;;         sml/name-width '(20 . 40)
