Fix "failed with exit code nil" when `markdown-open-command`
commit569e94a48c340fad2eab20de18a20688a97d4029
authoryewton <yewton@gmail.com>
Wed, 24 Jan 2018 01:53:25 +0000 (24 10:53 +0900)
committerJason Blevins <jblevins@xbeta.org>
Wed, 24 Jan 2018 09:38:16 +0000 (24 04:38 -0500)
tree62b48dbdcf82cc7a489fca2b4a2d677eeb10b27d
parent1c343f5ce4213e6a6e9562c4ab621a1f8e6c31c5
Fix "failed with exit code nil" when `markdown-open-command`

* If DESTINATION is 0, `call-process' returns immediately with value nil
* We have to set DESTINATION nil and wait for PROGRAM to terminate so we can get exit code
markdown-mode.el
tests/markdown-test.el