 ;; SOFTWARE.
 
 ;;; Change Log:
+;; 2.0.0 - Use `dir-locals-set-directory-class' for up project settings
 ;; 1.1.0 - Use minor mode only for keymap
 ;; 1.0.6 - Fix up settings
 ;; 1.0.5 - Up settings in find project

    (while projects
      (setq path (cons (expand-file-name (apm-project-path (eval (car projects)))) path))
      (setq projects (cdr projects)))
    path))

(defun apm-find-project ()
  (interactive)
  (let ((projects-list (apm-local-get-projects-path)))
    (with-temp-buffer
      (setq default-directory (ido-completing-read "Project: " projects-list))
      (apm-local-apply-settings)
      (ido-find-file))))

;;;###autoload
(define-minor-mode apm-minor-mode
  "APM mode."
  :lighter " APM"
  :keymap apm-mode-map
  :group apm)

(define-key apm-mode-map (kbd "C-c c") 'apm-compile)
(define-key apm-mode-map (kbd "C-c q") 'apm-compile-close)

(defvar apm-projects '()
  "You projects")

(defstruct apm-project path local-vars open-action)

(defun apm-local-find-project (path)
  (let ((path (expand-file-name path))
