tests/hghave.py
changeset 41787 2a6ca0d94b70
parent 41759 aaad36b88298
child 41842 28842adf8ed5
--- a/tests/hghave.py	Thu Feb 21 20:12:39 2019 -0500
+++ b/tests/hghave.py	Thu Feb 21 23:06:18 2019 -0500
@@ -822,3 +822,7 @@
     except (ImportError, AttributeError):
         pass
     return False
+
+@check('emacs', 'GNU Emacs')
+def has_emacs():
+    return matchoutput('emacs --version', b'GNU Emacs')