Avoid warning "assignment to free variable" for /ido-mode during compilation.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 14 Apr 2018 17:15:52 +0300
changeset 1558 a7bb0608855b
parent 1557 89e2bb5c7333
child 1559 9f4456fcac0e
Avoid warning "assignment to free variable" for /ido-mode during compilation.
.emacs-my
--- a/.emacs-my	Sat Apr 14 13:27:00 2018 +0300
+++ b/.emacs-my	Sat Apr 14 17:15:52 2018 +0300
@@ -1087,6 +1087,8 @@
 ;; (add-hook 'find-file-hook #'make-frame-visible)
 
 (require 'ffap)
+(eval-when 'compile (require 'ido nil t))
+
 ;; Ido makes appropriate binding.
 ;(ffap-bindings)
 ;; C-u C-x C-f finds the file at point
@@ -3530,6 +3532,7 @@
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "web-mode")
 
+(require 'web-mode nil t)
 (eval-when 'compile (require 'web-mode nil t))
 
 (setq web-mode-markup-indent-offset 2