From d1a0befc86bd72db89452554e8016cfae56dcfbf Mon Sep 17 00:00:00 2001 From: Brett Viren Date: Mon, 19 Aug 2024 14:46:15 -0400 Subject: [PATCH] Make emacs optional --- waft/org.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waft/org.py b/waft/org.py index 5a7ef2c02..5026c3196 100644 --- a/waft/org.py +++ b/waft/org.py @@ -183,7 +183,7 @@ def options(opt): help="Given name of emacs daemon to use via emacsclient for org export. If none, use emacs directly (which is slower and may not pick up your config) [default=None], Note default daemon is called 'server'") def configure(cfg): - cfg.find_program("emacs", var="EMACS") + cfg.find_program("emacs", var="EMACS", mandatory=False) cfg.find_program("emacsclient", var="EMACSCLIENT", mandatory=False) cfg.env.EMACS_DAEMON = cfg.options.emacs_daemon