 ;;-----------------------------------------------------------------------------;;
 ;; GLOBAL
 
-;; Lisp extensions folder (default = ~/.emacs.d).
+;; Lisp extensions folder (default = ~/.emacs.d/).
 (setq ext-folder user-emacs-directory)
 
 ;; Remove initial screen.

;; TEMPLATES

;; yasnippet. A template system for Emacs.
(add-to-list 'load-path (concat ext-folder "/yasnippet"))
(require 'yasnippet)
(yas/global-mode t)
;;-----------------------------------------------------------------------------;;

;; MODES

;; Cmake mode.
(autoload 'cmake-mode (concat ext-folder "cmake-mode/cmake-mode.el") t)

;; JavaScript mode.
(autoload 'js2-mode (concat ext-folder "js2-mode/js2.el") t)

;; Batch mode.
(autoload 'dos-mode (concat ext-folder "dos-mode/dos.el") t)

;; PHP mode.
(autoload 'php-mode (concat ext-folder "php-mode/php-mode.el") t)

;; Association between file extensions and emacs modes to be loaded.
(setq-default auto-mode-alist
