diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-09-06 06:58:52 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-09-06 08:10:21 +0200 |
commit | 511f267ec249cf46aec432f4b1649ac3b1f8aea1 (patch) | |
tree | 58a7d2210b7c5e03b4a6cdf5142ffece4b298f08 /helm-utils.el | |
parent | d9b953379c8a7184c53aa66e93c6301f8372d763 (diff) |
Try to optimize require in several places
* helm-elisp.el:
(helm-source-advice):
* helm-files.el: Avoid requiring emacs libs at run time.
(helm-find-files-persistent-action): Require image-dired.
(helm-find-files-toggle-to-bookmark): Require helm-bookmark.
(helm-ffap-guesser): require ffap.
(helm-find-files-1): require tramp.
* helm-lib.el: Avoid requiring dired at run time.
* helm-utils.el: Same.
* helm-mode.el (helm-read-file-name): require tramp.
Diffstat (limited to 'helm-utils.el')
-rw-r--r-- | helm-utils.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/helm-utils.el b/helm-utils.el index 94e804f4..ffe14254 100644 --- a/helm-utils.el +++ b/helm-utils.el @@ -20,8 +20,7 @@ (require 'cl-lib) (require 'helm) (require 'helm-help) -(require 'compile) ; Fixme: Is this needed? -(require 'dired) +(eval-when-compile (require 'dired)) (declare-function helm-find-files-1 "helm-files.el" (fname &optional preselect)) (declare-function popup-tip "ext:popup") |