 (setq lisp-dir
       (expand-file-name "lisp" user-emacs-directory))
 (add-to-list 'load-path lisp-dir)
-
-;; set path to wemacs folder with additional third-party software
-(defvar wemacs-dir)
-(setq wemacs-dir
-      (expand-file-name "ownCloud/wemacs" home-directory))
-
 
 ;; set path to notes directory
 (defvar notes-dir)

(defvar home-directory)
(setq home-directory default-directory)

;; set path to settings
(defvar settings-dir)
(setq settings-dir

(setq-default save-place t)
(setq save-place-file (expand-file-name ".places" user-emacs-directory))


;;==========================================================
;;      WEMACS
;;=========================================================

(when (eq system-type 'windows-nt)

	;; set path to wemacs folder with additional third-party software
	(defvar wemacs-dir)
	(setq wemacs-dir
				(expand-file-name (getenv "WEMACS_HOME")))

	;; (setq exec-path (expand-file-name (concat (getenv "WEMACS_PATH") ";" (getenv "PATH"))))
	(setenv "PATH" (expand-file-name (concat (getenv "WEMACS_PATH") ";" (getenv "PATH"))))
	
	;; use ported gnu find command under windows
	;; findutils seems to be faster than gnuwin32
	(setq find-program
				(expand-file-name
				 (concat wemacs-dir "/findutils/bin/find")))

	;; make PC keyboard's Win key to type Super or Hyper, for emacs running on Windows.
	(progn
		(setq w32-pass-lwindow-to-system nil)
		(setq w32-lwindow-modifier 'super) ; Left Windows key
		)	



	)

;;==========================================================
;;      CUSTOM.EL
