.emacs-my
changeset 542 22eb7a31b689
parent 541 3d913b8531f4
child 547 9f098b5f9269
equal deleted inserted replaced
541:3d913b8531f4 542:22eb7a31b689
   320     (concat "'" argument "'")
   320     (concat "'" argument "'")
   321     )
   321     )
   322   ;; Workaround for Cygwin when 'shell-file-name' is 'bash'.
   322   ;; Workaround for Cygwin when 'shell-file-name' is 'bash'.
   323   (setq null-device "/dev/null")
   323   (setq null-device "/dev/null")
   324   )
   324   )
       
   325 
       
   326 ;; -ls produce very noisy output:
       
   327 ;; (setq find-ls-option '("-ls" . ""))
       
   328 ;; So I use next expression, which work with GNU find, I replace %s with '0'
       
   329 ;; to avoid unnecessary sys calls and this make output aligned by column:
       
   330 (setq find-ls-option '("-printf ' -rw-rw-rw- 0 %AY-%Am-%Ad %AH:%AM %p\n'" . ""))
   325 
   331 
   326 ;; Do not set t because some grep do not has --color options.
   332 ;; Do not set t because some grep do not has --color options.
   327 (setq grep-highlight-matches nil)
   333 (setq grep-highlight-matches nil)
   328 (setq grep-use-null-device nil)
   334 (setq grep-use-null-device nil)
   329 
   335