Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile doesn't work in a shell under emacs #972

Closed
ilitzroth opened this issue Oct 31, 2015 · 2 comments
Closed

Makefile doesn't work in a shell under emacs #972

ilitzroth opened this issue Oct 31, 2015 · 2 comments

Comments

@ilitzroth
Copy link
Contributor

The makefile contains this line:

EMACS := $(shell echo "$${EMACS:-emacs}")

in an emacs shell buffer EMACS=t.

@gracjan
Copy link
Contributor

gracjan commented Nov 21, 2015

The full Makefile fragment goes like this:

EMACS := $(shell echo "$${EMACS:-emacs}")

# Emacs itself sets the $EMACS environment variable to t if it is not
# present, so we should ignore the variable if this is its value.
ifeq ($(EMACS),t)
EMACS := emacs
endif

It seems to me we are doing the correct thing here. Am I wrong?

@bergey
Copy link
Contributor

bergey commented Nov 21, 2015

The Makefile works for me in shell-mode or eshell. It does not work in term-mode, where EMACS=24.5.1 (term:0.96). I don't know that we need to care about this last, I'm just trying to be complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants