[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/diff-ansi 749193628d 1/2: Cleanup: format
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/diff-ansi 749193628d 1/2: Cleanup: format |
Date: |
Sun, 8 Dec 2024 00:59:36 -0500 (EST) |
branch: elpa/diff-ansi
commit 749193628d4959965c44bfe1cbecd9d68141c3b0
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Cleanup: format
---
diff-ansi.el | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/diff-ansi.el b/diff-ansi.el
index a87c4e5802..6ca04d5c26 100644
--- a/diff-ansi.el
+++ b/diff-ansi.el
@@ -301,10 +301,9 @@ Additional keyword arguments may also be passed in.
((listp arg-current)
(push arg-current args-no-keywords))
(t
- (error
- "Arguments must be keyword, value pairs or lists of strings,
found %S = %S"
- (type-of arg-current)
- arg-current)))))
+ (error "Arguments must be keyword, value pairs or lists of
strings, found %S = %S"
+ (type-of arg-current)
+ arg-current)))))
(setq args (reverse args-no-keywords)))
@@ -461,10 +460,9 @@ Optional keywords in KEYWORDS.
(_ (error "Unknown argument %S" arg-current)))))
(t
- (error
- "Optional arguments must be keyword, value pairs, found %S = %S"
- (type-of arg-current)
- arg-current)))))
+ (error "Optional arguments must be keyword, value pairs, found %S =
%S"
+ (type-of arg-current)
+ arg-current)))))
;; Set defaults when unset.
(unless idle
@@ -911,10 +909,9 @@ Return the buffer used to write data into on success."
(setq preserve-point v))
(_ (error "Unknown argument %S" arg-current)))))
(t
- (error
- "All arguments must be keyword, value pairs, found %S = %S"
- (type-of arg-current)
- arg-current)))))
+ (error "All arguments must be keyword, value pairs, found %S = %S"
+ (type-of arg-current)
+ arg-current)))))
(when preserve-point
(setq lines-to-beg (count-lines (point) beg))