bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#51702: 29.0.50; [PATCH] Fix xwidget buffer name being stuck on somet


From: Po Lu
Subject: bug#51702: 29.0.50; [PATCH] Fix xwidget buffer name being stuck on something nonsensical
Date: Tue, 09 Nov 2021 20:58:10 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> You've lost the period in the comment there.

Thanks for this catch.

>And the sentence after that should be capitalized, of course.

Thanks.  I was trying to keep the style of the original comment intact,
but now that you've brought it up I see no harm in changing it.

Please see the attached change.

>From c569e2419886f30940032745da76e99342d0a5d8 Mon Sep 17 00:00:00 2001
From: Po Lu <luangruo@yahoo.com>
Date: Tue, 9 Nov 2021 20:57:19 +0800
Subject: [PATCH] Fix comment capitalization in xwidget.el

* lisp/xwidget.el (xwidget-webkit-callback): Rectify comment.
---
 lisp/xwidget.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/xwidget.el b/lisp/xwidget.el
index 905327083b..28add0db0a 100644
--- a/lisp/xwidget.el
+++ b/lisp/xwidget.el
@@ -360,8 +360,8 @@ xwidget-webkit-callback
     (cond ((eq xwidget-event-type 'load-changed)
            (let ((title (xwidget-webkit-title xwidget)))
              ;; This funciton will be called multi times, so only
-             ;; change buffer name when the load actually completes
-             ;; this can limit buffer-name flicker in mode-line.
+             ;; change buffer name when the load actually completes.
+             ;; This can limit buffer-name flicker in mode-line.
              (when (or (string-equal (nth 3 last-input-event)
                                      "load-finished")
                        (> (length title) 0))
-- 
2.31.1


reply via email to

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