Subject: [PATCH] Simple typo in `clean-buffer-list'
From: Manuel Giraud <[email-masked]>
To: [email-masked]
Date: Mon, 09 Sep 2024 15:45:39 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Tags: patch

Hi,

Here is a patch for a simple harmless typo in `clean-buffer-list'.

In GNU Emacs 31.0.50 (build 23, x86_64-unknown-openbsd7.6) of 2024-09-07
 built on computer
Repository revision: 6dcd3d24045113fb0afec0d7f43e322c9baa06ab
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101013
System Description: OpenBSD computer 7.6 GENERIC.MP#311 amd64

Configured using:
 'configure CC=egcc CPPFLAGS=-I/usr/local/include
 LDFLAGS=-L/usr/local/lib MAKEINFO=gmakeinfo --prefix=/home/manuel/emacs
 --bindir=/home/manuel/bin --with-x-toolkit=no --without-cairo
 --without-compress-install'

From e145eb83d5021b4bff36eae42a70f2ca3716fda2 Mon Sep 17 00:00:00 2001
From: Manuel Giraud <[email-masked]>
Date: Mon, 9 Sep 2024 15:42:56 +0200
Subject: [PATCH] Simple typo in `clean-buffer-list'

* lisp/midnight.el (clean-buffer-list): `delay' is always an
integer here.
---
 lisp/midnight.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/midnight.el b/lisp/midnight.el
index bfa99d6a7a8..18a4e437f91 100644
--- a/lisp/midnight.el
+++ b/lisp/midnight.el
@@ -167,7 +167,7 @@ clean-buffer-list
               bn (buffer-name buf)
               delay (if bts (round (float-time (time-subtract tm bts))) 0)
               cbld (clean-buffer-list-delay bn))
-        (message "[%s] `%s' [%s %d]" ts bn delay cbld)
+        (message "[%s] `%s' [%d %d]" ts bn delay cbld)
         (unless (or (cl-find bn clean-buffer-list-kill-never-regexps
                              :test (lambda (bn re)
                                      (if (functionp re)
-- 
2.46.0

-- 
Manuel Giraud