summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a0d6944)
Use (call-process region nil ...) instead of (point-min) so that the
call works in narrowed buffers.
Patch by Philipp Stephani, thank you!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281203
91177308-0d34-0410-b5e6-
96231b3b80d8
(let (status stderr operations)
(setq status
(call-process-region
(let (status stderr operations)
(setq status
(call-process-region
- (point-min) (point-max) clang-format-executable
+ nil nil clang-format-executable
nil `(,temp-buffer ,temp-file) nil
"-output-replacements-xml"
nil `(,temp-buffer ,temp-file) nil
"-output-replacements-xml"