.emacs-my
changeset 894 d993e3e910ef
parent 893 0e1febcbddb6
child 895 8bf321b7f86e
equal deleted inserted replaced
893:0e1febcbddb6 894:d993e3e910ef
  1746 (message "compile")
  1746 (message "compile")
  1747 
  1747 
  1748 ;; Prompt for compilation command.
  1748 ;; Prompt for compilation command.
  1749 (setq compilation-read-command 1)
  1749 (setq compilation-read-command 1)
  1750 (setq compile-auto-highlight t)
  1750 (setq compile-auto-highlight t)
  1751 (setq compile-command "make ")
  1751 (setq compile-command "mymake ")
  1752 (when (eq system-type 'berkeley-unix)
  1752 (when (eq system-type 'berkeley-unix)
  1753   (setq compile-command "gmake "))
  1753   (setq compile-command "gmake "))
  1754 ;; With '1' compilation window shall scroll down, with `first-error' stops scrolling at the first error.
  1754 ;; With '1' compilation window shall scroll down, with `first-error' stops scrolling at the first error.
  1755 (setq compilation-scroll-output 1)
  1755 (setq compilation-scroll-output 1)
  1756 (setq compilation-ask-about-save t)
  1756 (setq compilation-ask-about-save t)