# HG changeset patch # User Oleksandr Gavenko # Date 1472149639 -10800 # Node ID a824a9955b53c8f2b45a9c29a9d5ae86d57fea1e # Parent 920558cbf675e94cdbf5135da94b44b339fdac97 Fix: Warning: assignment to free variable `find-ls-option'. diff -r 920558cbf675 -r a824a9955b53 .emacs-my --- a/.emacs-my Thu Aug 25 21:16:35 2016 +0300 +++ b/.emacs-my Thu Aug 25 21:27:19 2016 +0300 @@ -749,7 +749,7 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (message "grep, find") -(eval-when 'compile (require 'grep)) +(eval-when 'compile (require 'find-dired)) ;; -ls produce very noisy output: ;; (setq find-ls-option '("-ls" . "")) @@ -757,6 +757,8 @@ ;; to avoid unnecessary sys calls and this make output aligned by column: (setq find-ls-option '("-printf ' -rw-rw-rw- %9s %AY-%Am-%Ad %AH:%AM %p\n'" . "")) +(eval-when 'compile (require 'grep)) + ;; Do not set t because some grep do not has --color options. (setq grep-highlight-matches nil) (setq grep-use-null-device nil)