Skip to content

Commit d2d960b

Browse files
authored
Merge pull request #892 from jrblevin/issue-891
Don't show stderr to output file
2 parents 6c27a12 + 8ca1329 commit d2d960b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@
1010
like `org-mode`.
1111

1212
* Bug fixes:
13+
- `markdown-export` should not output stderr content to output file
1314

1415
* Improvements:
1516
- Support drag and drop features on Windows and multiple files' drag and drop
1617
- Added cmark and cmark-gfm to the markdown command list.
1718
- Disable `imenu-submenus-on-top` by default [GH-882][]
1819

1920
[gh-882]: https://github.com/jrblevin/markdown-mode/issues/882
21+
[gh-891]: https://github.com/jrblevin/markdown-mode/issues/891
2022

2123
# Markdown Mode 2.7
2224

markdown-mode.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7709,8 +7709,8 @@ Return the name of the output buffer used."
77097709
(erase-buffer))
77107710
(if (stringp command)
77117711
(if (not (null command-args))
7712-
(apply #'call-process-region begin-region end-region command nil buf nil command-args)
7713-
(call-process-region begin-region end-region command nil buf))
7712+
(apply #'call-process-region begin-region end-region command nil (list buf nil) nil command-args)
7713+
(call-process-region begin-region end-region command nil (list buf nil)))
77147714
(if markdown-command-needs-filename
77157715
(if (not buffer-file-name)
77167716
(user-error "Must be visiting a file")

0 commit comments

Comments
 (0)