Initialize MANPATH #2

merged 4 commits into from Oct 6, 2012


None yet
2 participants

lunaryorn commented Oct 6, 2012

Also copy $MANPATH from shell in exec-path-from-shell-initialize. Avoids mismatches between manpages shown with M-x man and the actual behaviour of the program.

This pull request also comprises some minor improvements, and adds a readme. The latter doesn't really belong here, but admittedly I was too lazy to open two pull requests :)

purcell merged commit f349bc2 into purcell:master Oct 6, 2012


purcell commented Oct 6, 2012

Nice -- merged!

Thanks for that, particularly the README. Sooner or later I want to start using org-readme to generate these automatically, but I haven't got around to it yet.

I'll probably remove the hard-coded MANPATH and instead add a custom var which is a list of extra env vars to copy at initialization time -- the default value would be '("MANPATH").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment