]> thyrsus.com Git - src.git/commitdiff
Make editors other than emacsclient actually work.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 7 Nov 2014 12:00:38 +0000 (07:00 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 7 Nov 2014 12:00:38 +0000 (07:00 -0500)
src

diff --git a/src b/src
index 088a089405caeb6e86c983a70f9ede2f94c7dba4..322871a66308ca82f786463e0cb8dd3daebaad81 100755 (executable)
--- a/src
+++ b/src
@@ -342,7 +342,7 @@ def commit_method(*args):
        else:
            editor = os.getenv("EDITOR") or "emacsclient"
            scratchfile = "/tmp/src%dtmp" % os.getpid()
-           do_or_die(editor + " " + scratchfile)
+           do_or_die(editor + " " + scratchfile, loud=True)
            logcomment = open(scratchfile).read()
            logcomment = "." + logcomment.replace("\n", "\n.")[:-1]
            with lifted(arg):