Variable: user-lisp-ignored-directories

user-lisp-ignored-directories is a customizable variable defined in startup.el.gz.

Value

("SCCS" "RCS" "CVS" "MCVS" ".src" ".svn" ".git" ".hg" ".bzr" "_MTN"
 "_darcs" "{arch}" ".repo" ".jj")

Documentation

List of directory names for prepare-user-lisp to not descend into.

Each entry of the list is a string that denotes the file name without a directory component. If during recursion any single entry matches the file name of any directory, prepare-user-lisp will ignore the contents of the directory. This option is most useful to exclude administrative directories that do not contain Lisp files.

Note that if prepare-user-lisp is called at startup, this variable must be set in your early-init file, see Info node (emacs) User Lisp Directory for details.

This variable was added, or its default value changed, in Emacs 31.1.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/startup.el.gz
(defcustom user-lisp-ignored-directories vc-directory-exclusion-list
  "List of directory names for `prepare-user-lisp' to not descend into.
Each entry of the list is a string that denotes the file name without a
directory component.  If during recursion any single entry matches the
file name of any directory, `prepare-user-lisp' will ignore the contents
of the directory.  This option is most useful to exclude administrative
directories that do not contain Lisp files.

Note that if `prepare-user-lisp' is called at startup, this variable
must be set in your early-init file, see Info node `(emacs) User Lisp
Directory' for details."
  :initialize #'custom-initialize-delay
  :type '(choice (repeat (string :tag "Directory name")))
  :version "31.1")