Skip to content

Commit

Permalink
Make emacs optional
Browse files Browse the repository at this point in the history
  • Loading branch information
brettviren committed Aug 19, 2024
1 parent 4e1e5b3 commit d1a0bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waft/org.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d1a0bef

Please sign in to comment.