diff options
| author | Drew Hess | 2010-09-30 19:44:40 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-11-07 08:32:46 -0800 |
| commit | 31952113626c3aab63e1771cbaff6818700f4cbb (patch) | |
| tree | d39282ed79aac86e0012673af4e789137c13f7af /Library/Formula/mod_python.rb | |
| parent | e4e3319cd0ffd158cdc00b132ee9844dcb19b4f3 (diff) | |
| download | homebrew-31952113626c3aab63e1771cbaff6818700f4cbb.tar.bz2 | |
Emacs - Install info files to separate folder
By default, Emacs installs its info files in /usr/local/share/info.
This works fine until you try to install an updated version of an
elisp package that is bundled with Emacs (e.g., org-mode), at which
point the updated package will overwrite the info file that came
bundled with Emacs. This is not ideal, but it works, since Emacs will
see the updated info file -- that is, until you decide to uninstall
the elisp package (removing the info file for the package altogether),
or you rebuild Emacs (overwriting the new package's info file with the
stale one that comes bundled with Emacs).
This patch makes the Emacs formula install Emacs's info files
in #{prefix}/share/info/emacs, so that updated elisp packages' info
files will not conflict with Emacs's. Then it's just a simple matter
of setting Info-directory-list in your .emacs file so that Emacs will
find the updated info file.
This method mimics the Debian behavior for Emacs info directories.
Note that Emacs will look for info files in the configured --infodir
by default, so there's no need for a caveat re: the INFOPATH
environment variable.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/mod_python.rb')
0 files changed, 0 insertions, 0 deletions
