In the Emacs Trunk build -- i.e., built --with-ns
, I have the following entries that get added automatically to my load-path
when launching without any user configuration:
"." "./Applications" "./Applications (Parallels)" "./Desktop" "./Documents"
"./Downloads" "./Library" "./Movies" "./Music" "./Pictures" "./Public" "./Sites" "./Users"
I've done some grepping, but haven't found an option to prevent the creation of those entries.
Clearly, Emacs is scanning my home directory for all folders and creating entries based on the results.
How can I prevent the creation of those entries?
This does NOT happen when I launch: Emacs -Q
EDIT (08/26/2015): I have tracked down the bug and submitted a bug report -- http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21353 -- which states in relevant part:
The default-directory
is initially set to "."
, which results in erroneous entries being added to the load-path
by normal-top-level-add-subdirs-to-load-path
within .../site-lisp/subdirs.el
when starting Emacs. The erroneous entries look like this:
"." "./Applications" "./Applications (Parallels)" "./Desktop" "./Documents"
"./Downloads" "./Library" "./Movies" "./Music" "./Pictures" "./Public" "./Sites" "./Users"
I built Emacs Trunk from the directory ~/Desktop
, in the event that has any relevance -- /Users/HOME/Desktop/emacs
.