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>
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
GNU Emacs is an extensible, customizable text editor—and more. At
its core is an interpreter for Emacs Lisp, a dialect of the Lisp
programming language with extensions to support text editing.