aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2011-08-20 15:30:53 -0400
committerChong Yidong2011-08-20 15:30:53 -0400
commit04ed2e9c6a7098fe69447ecffae9692fd54faa94 (patch)
treeca55202ef11c54e723036713abc2356fde611c31
parent826cee649d749f010391a5c36bb9ef4e89ad28c1 (diff)
downloademacs-04ed2e9c6a7098fe69447ecffae9692fd54faa94.tar.gz
emacs-04ed2e9c6a7098fe69447ecffae9692fd54faa94.zip
* startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix (Bug#9274).
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/startup.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f47ff5f1d0e..cab26924041 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-08-20 Chong Yidong <cyd@stupidchicken.com>
2
3 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
4 (Bug#9274).
5
12011-08-20 Alan Mackenzie <acm@muc.de> 62011-08-20 Alan Mackenzie <acm@muc.de>
2 7
3 * Fontify CPP expressions correctly when starting in the middle of 8 * 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
409 \"\\'\"; those are added automatically by callers.") 409 \"\\'\"; those are added automatically by callers.")
410 410
411(defun normal-top-level-add-subdirs-to-load-path () 411(defun normal-top-level-add-subdirs-to-load-path ()
412 "Add all subdirectories of current directory to `load-path'. 412 "Add all subdirectories of `default-directory' to `load-path'.
413More precisely, this uses only the subdirectories whose names 413More precisely, this uses only the subdirectories whose names
414start with letters or digits; it excludes any subdirectory named `RCS' 414start with letters or digits; it excludes any subdirectory named `RCS'
415or `CVS', and any subdirectory that contains a file named `.nosearch'." 415or `CVS', and any subdirectory that contains a file named `.nosearch'."