Skip to content

Commit 26ac55b

Browse files
committed
Improve default emacs path for macOS
1 parent 8133fb4 commit 26ac55b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
.PHONY : test
22

3-
EMACS ?= emacs
3+
UNAME_S=$(shell uname -s)
4+
ifeq ($(UNAME_S),Darwin)
5+
EMACS ?= /Applications/Emacs.app/Contents/MacOS/Emacs
6+
else
7+
EMACS ?= emacs
8+
endif
9+
410
CASK ?= cask
511

612
LOADPATH = -L .

0 commit comments

Comments
 (0)