[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c941b94e51f: ; * src/dispnew.c (combine_updates_for_frame): Fix w
From: |
Eli Zaretskii |
Subject: |
master c941b94e51f: ; * src/dispnew.c (combine_updates_for_frame): Fix whitespace. |
Date: |
Fri, 24 Jan 2025 03:26:45 -0500 (EST) |
branch: master
commit c941b94e51f4e5996718416ac908249cb71da1d9
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; * src/dispnew.c (combine_updates_for_frame): Fix whitespace.
---
src/dispnew.c | 2 +-
test/src/editfns-tests.el | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/dispnew.c b/src/dispnew.c
index e4567f6970c..724ec6ece9a 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -3967,7 +3967,7 @@ combine_updates_for_frame (struct frame *f, bool
inhibit_scrolling)
/* Determine visible frames on the root frame, including the root
frame itself. Note that there are cases, see bug#75056, where we
- can be called for invisible frames. */
+ can be called for invisible frames. */
Lisp_Object z_order = frames_in_reverse_z_order (root, true);
if (NILP (z_order))
{
diff --git a/test/src/editfns-tests.el b/test/src/editfns-tests.el
index 9fff4255b57..6da3c73f001 100644
--- a/test/src/editfns-tests.el
+++ b/test/src/editfns-tests.el
@@ -534,4 +534,14 @@
'utf-8 nil (current-buffer))
(should (null (sanity-check-change-functions-errors))))))
+(ert-deftest editfns-tests-styled-print ()
+ (let* ((print-unreadable-function
+ (lambda (&rest args)
+ (garbage-collect)
+ (make-string 100 ?Ā t)))
+ (str "\"[1]
ĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀĀ\""))
+ (should (string=
+ (format "%S" (format "%S %S" [1] (symbol-function '+))) str))))
+
+
;;; editfns-tests.el ends here
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master c941b94e51f: ; * src/dispnew.c (combine_updates_for_frame): Fix whitespace.,
Eli Zaretskii <=