all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#73144: [PATCH] Simple typo in `clean-buffer-list'
@ 2024-09-09 13:45 Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-09-12  9:28 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-09-09 13:45 UTC (permalink / raw)
  To: 73144

[-- Attachment #1: Type: text/plain, Size: 638 bytes --]

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'


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Simple-typo-in-clean-buffer-list.patch --]
[-- Type: text/patch, Size: 993 bytes --]

From e145eb83d5021b4bff36eae42a70f2ca3716fda2 Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel@ledu-giraud.fr>
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


[-- Attachment #3: Type: text/plain, Size: 18 bytes --]

-- 
Manuel Giraud

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#73144: [PATCH] Simple typo in `clean-buffer-list'
  2024-09-09 13:45 bug#73144: [PATCH] Simple typo in `clean-buffer-list' Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-09-12  9:28 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2024-09-12  9:28 UTC (permalink / raw)
  To: Manuel Giraud; +Cc: 73144-done

> Date: Mon, 09 Sep 2024 15:45:39 +0200
> From:  Manuel Giraud via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> Here is a patch for a simple harmless typo in `clean-buffer-list'.

Thanks, installed on the master branch, and closing the bug.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-12  9:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09 13:45 bug#73144: [PATCH] Simple typo in `clean-buffer-list' Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-12  9:28 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.