# HG changeset patch # User Oleksandr Gavenko # Date 1523715352 -10800 # Node ID a7bb0608855b6e45bbd8bb2ab1033145da07ad36 # Parent 89e2bb5c73334658d545317b708cd7c2b29c2801 Avoid warning "assignment to free variable" for /ido-mode during compilation. diff -r 89e2bb5c7333 -r a7bb0608855b .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