Variable: user-lisp-ignored-directories

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

Value

(".git" ".hg" "RCS" "CVS" ".svn" "_svn" ".bzr")

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.

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
  '(".git" ".hg" "RCS" "CVS" ".svn" "_svn" ".bzr")
  "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."
  :type '(choice (repeat (string :tag "Directory name")))
  :version "31.1")