From 04ed2e9c6a7098fe69447ecffae9692fd54faa94 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 20 Aug 2011 15:30:53 -0400 Subject: [PATCH] * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix (Bug#9274). --- lisp/ChangeLog | 5 +++++ lisp/startup.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f47ff5f1d0e..cab26924041 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-08-20 Chong Yidong + + * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix + (Bug#9274). + 2011-08-20 Alan Mackenzie * Fontify CPP expressions correctly when starting in the middle of diff --git a/lisp/startup.el b/lisp/startup.el index 0dee969fb5a..6c3bb397e9a 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -409,7 +409,7 @@ The regexp should not contain a starting \"\\`\" or a trailing \"\\'\"; those are added automatically by callers.") (defun normal-top-level-add-subdirs-to-load-path () - "Add all subdirectories of current directory to `load-path'. + "Add all subdirectories of `default-directory' to `load-path'. More precisely, this uses only the subdirectories whose names start with letters or digits; it excludes any subdirectory named `RCS' or `CVS', and any subdirectory that contains a file named `.nosearch'." -- 2.39.2