.emacs-my
changeset 480 e8ca3a1d9227
parent 473 1334dc79ea80
child 481 5d5811a03d28
equal deleted inserted replaced
473:1334dc79ea80 480:e8ca3a1d9227
   285   ;; Workaround for Cygwin shell, when set 'CYGWIN=noglob'. By default 'shell-quote-argument'
   285   ;; Workaround for Cygwin shell, when set 'CYGWIN=noglob'. By default 'shell-quote-argument'
   286   ;; quoted by double '\' chars this cause failure.
   286   ;; quoted by double '\' chars this cause failure.
   287   (defun shell-quote-argument (argument)
   287   (defun shell-quote-argument (argument)
   288     (concat "'" argument "'")
   288     (concat "'" argument "'")
   289     )
   289     )
   290   ;; Workaround for Cygwin.
   290   ;; Workaround for Cygwin when 'shell-file-name' is 'bash'.
   291   (setq null-device "/dev/null")
   291   (setq null-device "/dev/null")
   292   )
   292   )
   293 
   293 
   294 ;; Do not set t because some grep do not has --color options.
   294 ;; Do not set t because some grep do not has --color options.
   295 (setq grep-highlight-matches nil)
   295 (setq grep-highlight-matches nil)