branch: elpa/markdown-mode
commit d2d960bec164e91e1a3315b176e2bcc324e63c95
Merge: 6c27a12a49 8ca1329f5b
Author: Shohei YOSHIDA <syo...@gmail.com>
Commit: GitHub <nore...@github.com>

    Merge pull request #892 from jrblevin/issue-891
    
    Don't show stderr to output file
---
 CHANGES.md       | 2 ++
 markdown-mode.el | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index 673334bb6f..b4171603c5 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -10,6 +10,7 @@
       like `org-mode`.
 
 *   Bug fixes:
+    - `markdown-export` should not output stderr content to output file
 
 *   Improvements:
     - Support drag and drop features on Windows and multiple files' drag and 
drop
@@ -17,6 +18,7 @@
     - Disable `imenu-submenus-on-top` by default [GH-882][]
 
   [gh-882]: https://github.com/jrblevin/markdown-mode/issues/882
+  [gh-891]: https://github.com/jrblevin/markdown-mode/issues/891
 
 # Markdown Mode 2.7
 
diff --git a/markdown-mode.el b/markdown-mode.el
index e9d9bec8fc..311050f44f 100644
--- a/markdown-mode.el
+++ b/markdown-mode.el
@@ -7709,8 +7709,8 @@ Return the name of the output buffer used."
                    (erase-buffer))
                  (if (stringp command)
                      (if (not (null command-args))
-                         (apply #'call-process-region begin-region end-region 
command nil buf nil command-args)
-                       (call-process-region begin-region end-region command 
nil buf))
+                         (apply #'call-process-region begin-region end-region 
command nil (list buf nil) nil command-args)
+                       (call-process-region begin-region end-region command 
nil (list buf nil)))
                    (if markdown-command-needs-filename
                        (if (not buffer-file-name)
                            (user-error "Must be visiting a file")

Reply via email to