stsquad / emacs_chrome

A Chromium/Firefox "clone" of It's All Text for spawning an editor to edit text areas in browsers. Based on David Hilley's original Chromium extension.
https://chrome.google.com/extensions/detail/ljobjlafonikaiipfkggjbhkghgicgoh
GNU General Public License v3.0
514 stars 91 forks source link

Do not suggest adding ~/.emacs.d to load-path #166

Closed phil-s closed 4 years ago

phil-s commented 4 years ago

emacs_chrome/fancy-settings/source/i18n.js says:

Save the file to somewhere visible to your your Emacs load-path (~/.emacs.d is popular) and add the following to your .emacs:

     (add-to-list 'load-path "~/.emacs.d")

No one should have ~/.emacs.d in their load-path. Sub-directories are fine, but it's unsafe to use that directory itself. For quite some time Emacs has even issued a warning if you do this, so at minimum your suggestion can cause that to happen, which is also an undesirable result.

I suggest you change the text to say "(~/.emacs.d/lisp is popular)" instead.

stsquad commented 4 years ago

Thanks. Fixed.