From fc04a197a4f4679ebdd8a0637ac7d3c7e2a6a61b Mon Sep 17 00:00:00 2001 From: Fice T Date: Sun, 1 May 2016 15:04:14 -0600 Subject: [PATCH] Don't message when EMACS shell variable is void --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 69ec11e7a..ac63bd788 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ INSTALL_INFO = install-info # # This is particularly useful when EMACS is set in ~/.bash_profile # -EMACS := $(shell which "$${EMACS}" || which "emacs") +EMACS := $(shell which "$${EMACS}" 2> /dev/null || which "emacs") EMACS_VERSION := $(shell "$(EMACS)" -Q --batch --eval '(princ emacs-version)') EFLAGS = --eval "(add-to-list 'load-path (expand-file-name \"tests/compat\") 'append)" \