.emacs-my
changeset 638 5bfd6f2d1ae7
parent 637 f4806bc22860
child 639 3e66a9605c4f
equal deleted inserted replaced
637:f4806bc22860 638:5bfd6f2d1ae7
  1210     (setq i (- i 4))))
  1210     (setq i (- i 4))))
  1211 
  1211 
  1212 ;;; ----------------------------------------------------------------
  1212 ;;; ----------------------------------------------------------------
  1213 (message "compile")
  1213 (message "compile")
  1214 
  1214 
  1215 (setq compile-auto-highlight t
  1215 (setq compile-auto-highlight t)
  1216       compile-command "make ")
  1216 (setq compile-command "make ")
       
  1217 (when (eq system-type 'berkeley-unix)
       
  1218   (setq compile-command "gmake "))
  1217 ;; compilation window shall scroll down if not 0
  1219 ;; compilation window shall scroll down if not 0
  1218 (setq compilation-scroll-output 1)
  1220 (setq compilation-scroll-output 1)
  1219 
  1221 
  1220 ;; Show error in EN locale to easy search how fix problem in docs and Internet.
  1222 ;; Show error in EN locale to easy search how fix problem in docs and Internet.
  1221 (setq compilation-environment '("LANG=C"))
  1223 (setq compilation-environment '("LANG=C"))