     (defun nk-load-session (session-name)
         (nk-create-load-session session-name nk-session-dir))
 
+    ; (add-hook 'kill-emacs-hook (lambda () (desktop+-save)))
+
     ; (defvar desktop+-base-dir "~/.emacs_sessions/"
     ; "Base directory for desktop files.")
 

    (require 'evil)
    (evil-mode 1)


;; Color theme
    ; Many color themes
        ; https://github.com/emacs-jp/replace-colorthemes
    ; (require 'tangotango)
    ; (load-theme 'tangotango t)
    ;; Different color themes for GUI and terminal
    (if (display-graphic-p)
        (progn
            (require 'color-theme-sanityinc-tomorrow)
            (load-theme 'sanityinc-tomorrow-bright))
        (load-theme 'wombat))
    ; Set terminal background color to black
    (add-to-list 'default-frame-alist '(background-color . "000000"))
        ; http://stackoverflow.com/a/11419691/2450748
    ; (set-background-color "#000000")
    ; (load-theme 'wombat)

    (require 'desktop+)
    (setq nk-session-dir "~/.emacs-local/sessions/")
    (setq-default desktop+-base-dir nk-session-dir)

;; Save last session
     ; (setq desktop-base-file-name "proba_cstm")
     (setq desktop-path (list nk-session-dir))
     (setq desktop-dirname nk-session-dir)
     ; ; (setq desktop-save-mode 1)
     ; (setq desktop-save t)
     ; (desktop-save-mode 1)
     ; ; (desktop-read)
     ; ; (add-hook 'emacs-startup-hook 'desktop-read)
        ; https://www.emacswiki.org/emacs?action=browse;oldid=DeskTop;id=Desktop
        ; http://stackoverflow.com/a/4485083/2450748

    ; (setq nk-session-dir "~/.emacs_local/sessions/")
    ; (setq nk-session-name "PRB3")
