emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/reformatter 415d1a8f0b 1/3: reformatter--do-region: Fix do


From: ELPA Syncer
Subject: [nongnu] elpa/reformatter 415d1a8f0b 1/3: reformatter--do-region: Fix documentation of DISPLAY-ERRORS
Date: Tue, 3 Sep 2024 07:49:49 -0400 (EDT)

branch: elpa/reformatter
commit 415d1a8f0b990d27c96609863879f7d9580d8255
Author: Damien Cassou <damien@cassou.me>
Commit: Damien Cassou <damien@cassou.me>

    reformatter--do-region: Fix documentation of DISPLAY-ERRORS
---
 reformatter.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/reformatter.el b/reformatter.el
index 3ea3d2885b..6fb0dbaae1 100644
--- a/reformatter.el
+++ b/reformatter.el
@@ -85,10 +85,10 @@ otherwise as it cannot create intermediate directories."
 
 (defun reformatter--do-region (name beg end program args stdin stdout 
input-file exit-code-success-p display-errors)
   "Do the work of reformatter called NAME.
-Reformats the current buffer's region from BEG to END using
-PROGRAM and ARGS.  For args STDIN, STDOUT, INPUT-FILE,
-EXIT-CODE-SUCCESS-P and DISPLAY-ERRORS see the documentation of
-the `reformatter-define' macro."
+Reformats the current buffer's region from BEG to END using PROGRAM and
+ARGS. When DISPLAY-ERRORS is non-nil, shows a buffer if the formatting
+fails. For args STDIN, STDOUT, INPUT-FILE and EXIT-CODE-SUCCESS-P see
+the documentation of the `reformatter-define' macro."
   (cl-assert input-file)
   (cl-assert (functionp exit-code-success-p))
   (when (and input-file



reply via email to

[Prev in Thread] Current Thread [Next in Thread]