From ba4561c79de72e5c754d020ca9ddd7e40f67d7dc Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Thu, 23 Apr 2026 20:58:02 +0200 Subject: [PATCH] Clarify how to customize 'user-lisp-ignored-directories' * lisp/startup.el (user-lisp-ignored-directories): Update docstring. (Bug#80853) --- lisp/startup.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/startup.el b/lisp/startup.el index decd25a6232..4f8c890f9ec 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -1229,7 +1229,11 @@ 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." +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." :type '(choice (repeat (string :tag "Directory name"))) :version "31.1")