(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(auto-compression-mode t nil (jka-compr))
 '(auto-save-timeout 300)
 '(blink-cursor nil)
 '(case-fold-search t)
 '(compilation-window-height 13)
 '(current-language-environment "ASCII")
 '(custom-buffer-done-function (quote kill-buffer))
 '(default-major-mode (quote text-mode))
 '(display-hourglass nil)
 '(display-time-24hr-format t)
 '(display-time-day-and-date t)
 '(display-time-mode t nil (time))
 '(global-font-lock-mode t nil (font-lock))
 '(make-backup-files nil)
 '(mouse-wheel-follow-mouse t)
 '(show-paren-mode t nil (paren))
 '(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify))))
(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(cursor ((t (:background "red")))))

(global-set-key (quote [f3]) (quote save-buffer))
(global-set-key (quote [f4]) (quote recompile))
(global-set-key (quote [f5]) (quote next-error))
(global-set-key (quote [f6]) (quote previous-error))
(global-set-key (quote [f7]) (quote start-kbd-macro))
(global-set-key (quote [f8]) (quote end-kbd-macro))
(global-set-key (quote [f9]) (quote call-last-kbd-macro))
(global-set-key "\M-g" (quote goto-line))

(setq auto-mode-alist (append '(("\\.inc$" . php-mode)) auto-mode-alist))

(setq frame-title-format "%b")  ; file name in the window title

(mwheel-install)  ; utiliser la molette de la souris

(setq-default indent-tabs-mode nil)  ; indentation avec des blancs seulement

; TAB complete le mot plutot que d'indenter la ligne
(add-hook 'c-mode-hook '(lambda ()
          (define-key c-mode-map [return] 'newline-and-indent)  ; enter indente
          (define-key c-mode-map [tab] 'dabbrev-expand)  ; tab complete mot
          (define-key c-mode-map [C-tab] 'c-indent-command)))  ; ctrl-tab indnt

; Les buffers suivants apparaissent dans une nouvelle fenetre
(if window-system
    (setq special-display-buffer-names
          (append '("*info*" "*Help*" "*compilation*" "*Apropos*" )
                  special-display-buffer-names)))