 ;; lambda-core.el --- core settings, shared by all other modules
-;; Time-stamp: <2015-05-13 22:09:18 Jerry Xu>
+;; Time-stamp: <2015-05-15 16:46:22 Jerry Xu>
 
 ;;; Commentary:
 ;; Core settings, shared by all other modules.

(flx-ido-mode 1)

;;; magit --- use git in emacs--------------------------------------------------
(defun lambda-get-magit-dir ()
  "Get the directory magit installed."
  (let ((elpa-dir (expand-file-name "elpa" lambda-x-direcotry)))

  (set-face-attribute 'mode-line nil :box nil)
  (set-face-attribute 'mode-line-inactive nil :box nil)

  (set-frame-font "Consolas-11")

  (if (eq system-type 'windows-nt)
      (setq face-font-rescale-alist (list (cons "Î˘ČíŃĹşÚ" 1.1)))
    (setq face-font-rescale-alist (list (cons "微软雅黑" 1.1))))
