#+BEGIN_SRC emacs-lisp :tangle yes :results silent
(defconst my-name "Peng Li")
(defconst my-email "seudut@gmail.com")
+ (defconst MY-EMACS-DIR (concat (getenv "HOME") "/.emacs.d"))
+ (defconst MY-EMACS-TMP (concat MY-EMACS-DIR "/temp"))
#+END_SRC
** General Setting
(use-package company-statistics
:ensure t
+ :init
+ (setq company-statistics-file (concat MY-EMACS-TMP "/company-statistics-cache.el"))
:config
(company-statistics-mode))
(require 'cc-mode)
(require 'semantic)
+ (setq semanticdb-default-save-directory (concat MY-EMACS-TMP "/semantic/"))
+ (unless (file-exists-p semanticdb-default-save-directory)
+ (make-directory semanticdb-default-save-directory))
(global-semanticdb-minor-mode 1)
(global-semantic-idle-scheduler-mode 1)