I have one file that needs to behave differently depending on whether Emacs is running in batch mode (non interactive) or normal mode.
(if batch-mode-t
a-func
b-func)
How can I detect this?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityI have one file that needs to behave differently depending on whether Emacs is running in batch mode (non interactive) or normal mode.
(if batch-mode-t
a-func
b-func)
How can I detect this?