Update Instructions to Install emacs-mac with homebrew

Updated installation to include the --with-native-compilation flag for compatibility with emacs@29.1, which is installed now by default. (The current instructions will create a broken config by default)
Updated the command for adding an Emacs.app link to /Applications to a more Mac-ish solution. Added comment explaining that command is optional and linked to other options.
This commit is contained in:
John Hamlin 2023-08-25 15:23:18 -04:00 committed by GitHub
parent 7a75030458
commit 0ea1eddaca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -293,9 +293,11 @@ to least recommended for Doom (based on compatibility).
with macOS, native emojis and better childframe support. with macOS, native emojis and better childframe support.
#+BEGIN_SRC bash #+BEGIN_SRC bash
brew tap railwaycat/emacsmacport brew tap railwaycat/emacsmacport
brew install emacs-mac --with-modules brew install emacs-mac --with-modules --with-native-compilation
ln -s /usr/local/opt/emacs-mac/Emacs.app /Applications/Emacs.app # Optional: Add launcher script to /Applications
osacompile -o /Applications/Emacs.app -e "tell application \"Finder\" to open POSIX file \"$(brew --prefix)/opt/emacs-mac/Emacs.app\""
#+END_SRC #+END_SRC
There are other options for installing a helper launcher scripts for [[https://github.com/railwaycat/homebrew-emacsmacport/blob/master/docs/emacs-start-helpers.md][emacs starter helpers]] in the emacs-mac docs
- [[https://github.com/d12frosted/homebrew-emacs-plus][emacs-plus]]. Some users have - [[https://github.com/d12frosted/homebrew-emacs-plus][emacs-plus]]. Some users have
experienced [flashing artifacts when scrolling](https://github.com/d12frosted/homebrew-emacs-plus/issues/314): experienced [flashing artifacts when scrolling](https://github.com/d12frosted/homebrew-emacs-plus/issues/314):