.emacs-my
changeset 481 5d5811a03d28
parent 479 6ca398b20643
parent 480 e8ca3a1d9227
child 482 3e7cbd0ad5f0
equal deleted inserted replaced
479:6ca398b20643 481:5d5811a03d28
   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)