Update patch-macos documentation

Follows up on 0fc9b6be
This commit is contained in:
Henrik Lissner 2018-08-31 00:19:34 +02:00
parent 147fa794d3
commit 2c5ccaa864
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -206,10 +206,10 @@ This patch fixes this by patching Emacs.app (in /Applications or
1. Move Contents/MacOS/Emacs to Contents/MacOS/RunEmacs 1. Move Contents/MacOS/Emacs to Contents/MacOS/RunEmacs
2. And replace Contents/MacOS/Emacs with the following wrapper script: 2. And replace Contents/MacOS/Emacs with the following wrapper script:
#!/usr/bin/env bash #!/bin/bash
args=\"$@\" args=\"$@\"
pwd=\"$(cd \"$(dirname \"${BASH_SOURCE[0]}\")\"; pwd -P)\" pwd=\"$(cd \"$(dirname \"${BASH_SOURCE[0]}\")\"; pwd -P)\"
exec \"$SHELL\" -c \"$pwd/RunEmacs $args\" exec \"$SHELL\" -l -c \"$pwd/RunEmacs $args\"
This ensures that Emacs is always aware of your shell environment, regardless of This ensures that Emacs is always aware of your shell environment, regardless of
how it is launched. how it is launched.