Variable: semanticdb-default-save-directory

semanticdb-default-save-directory is a customizable variable defined in db-file.el.gz.

Value

"~/.emacs.d/semanticdb"

Documentation

Directory name where semantic cache files are stored.

By default, it is either ~/.emacs.d/semanticdb, or ~/.semanticdb depending on which exists. If this value is nil, files are saved in the current directory. If the value is a valid directory, then it overrides semanticdb-default-file-name and stores caches in a coded file name in this directory.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/db-file.el.gz
(defcustom semanticdb-default-save-directory
  (locate-user-emacs-file "semanticdb" ".semanticdb")
  "Directory name where semantic cache files are stored.
By default, it is either ~/.emacs.d/semanticdb, or ~/.semanticdb depending
on which exists.
If this value is nil, files are saved in the current directory.  If the value
is a valid directory, then it overrides `semanticdb-default-file-name' and
stores caches in a coded file name in this directory."
  :group 'semanticdb
  :type '(choice :tag "Default-Directory"
                 :menu-tag "Default-Directory"
                 (const :tag "Use current directory" :value nil)
                 (directory)))