Variable: semanticdb-persistent-path

semanticdb-persistent-path is a customizable variable defined in db-file.el.gz.

Value

(always)

Documentation

List of valid paths that semanticdb will cache tags to.

When global-semanticdb-minor-mode(var)/global-semanticdb-minor-mode(fun) is active, tag lists will be saved to disk when Emacs exits. Not all directories will have tags that should be saved. The value should be a list of valid paths. A path can be a string, indicating a directory in which to save a variable. An element in the list can also be a symbol. Valid symbols are never, which will disable any saving anywhere, always, which enables saving everywhere, or project, which enables saving in any directory that passes a list of predicates in semanticdb-project-predicate-functions.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/db-file.el.gz
(defcustom semanticdb-persistent-path '(always)
  "List of valid paths that semanticdb will cache tags to.
When `global-semanticdb-minor-mode' is active, tag lists will
be saved to disk when Emacs exits.  Not all directories will have
tags that should be saved.
The value should be a list of valid paths.  A path can be a string,
indicating a directory in which to save a variable.  An element in the
list can also be a symbol.  Valid symbols are `never', which will
disable any saving anywhere, `always', which enables saving
everywhere, or `project', which enables saving in any directory that
passes a list of predicates in `semanticdb-project-predicate-functions'."
  :group 'semanticdb
  :type '(repeat (choice (string :tag "Directory") (const never) (const always)
                         (const project))))