chore(emacs): remove unnecessary requires

This commit is contained in:
Soonho Kong 2014-10-31 15:23:45 -07:00
parent 96f620adf6
commit cae543e665
4 changed files with 2 additions and 5 deletions

View file

@ -7,7 +7,6 @@
(require 'cl-lib) (require 'cl-lib)
(require 'dash) (require 'dash)
(require 'dash-functional) (require 'dash-functional)
(require 'flycheck)
(require 'lean-util) (require 'lean-util)
(require 'lean-debug) (require 'lean-debug)

View file

@ -12,6 +12,7 @@
;; ;;
;; Released under Apache 2.0 license as described in the file LICENSE. ;; Released under Apache 2.0 license as described in the file LICENSE.
;; ;;
(require 'pcase)
(require 'lean-require) (require 'lean-require)
(require 'eri) (require 'eri)
(require 'lean-variable) (require 'lean-variable)
@ -169,8 +170,7 @@ enabled and disabled respectively.")
;; Delete Trailing Whitespace ;; Delete Trailing Whitespace
(if lean-delete-trailing-whitespace (if lean-delete-trailing-whitespace
(progn (require 'whitespace-cleanup-mode) (progn (require 'whitespace-cleanup-mode)
(whitespace-cleanup-mode t)) (whitespace-cleanup-mode t)))
(whitespace-cleanup-mode nil))
;; eldoc ;; eldoc
(when lean-eldoc-use (when lean-eldoc-use
(set (make-local-variable 'eldoc-documentation-function) (set (make-local-variable 'eldoc-documentation-function)

View file

@ -4,7 +4,6 @@
;; Author: Soonho Kong ;; Author: Soonho Kong
;; ;;
(require 'flycheck)
(require 'lean-util) (require 'lean-util)
(defconst lean-project-file-name ".project" (defconst lean-project-file-name ".project"

View file

@ -7,7 +7,6 @@
(require 'cl-lib) (require 'cl-lib)
(require 'dash) (require 'dash)
(require 'dash-functional) (require 'dash-functional)
(require 'flycheck)
(require 's) (require 's)
(require 'lean-debug) (require 'lean-debug)
(require 'lean-variable) (require 'lean-variable)