From: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 73144@debbugs.gnu.org
Subject: bug#73144: [PATCH] Simple typo in `clean-buffer-list'
Date: Mon, 09 Sep 2024 15:45:39 +0200 [thread overview]
Message-ID: <87h6ap6iv0.fsf@ledu-giraud.fr> (raw)
[-- 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
next reply other threads:[~2024-09-09 13:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-09 13:45 Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-09-12 9:28 ` bug#73144: [PATCH] Simple typo in `clean-buffer-list' Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h6ap6iv0.fsf@ledu-giraud.fr \
--to=bug-gnu-emacs@gnu.org \
--cc=73144@debbugs.gnu.org \
--cc=manuel@ledu-giraud.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.