unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Fix typo in src/buffer.c
@ 2021-07-10 22:42 Matthew White
  2021-07-10 22:49 ` Lars Ingebrigtsen
  2021-07-11  6:03 ` Eli Zaretskii
  0 siblings, 2 replies; 3+ messages in thread
From: Matthew White @ 2021-07-10 22:42 UTC (permalink / raw)
  To: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 269 bytes --]

Hello,

The attached patch fixes a typo in 'src/buffer.c'.

This is really a trivial fix ;)

-  /* Run hooks with the buffer to be killed the current buffer.  */
+  /* Run hooks with the buffer to be killed as the current buffer.  */

Best regards,
-Matthew

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-src-buffer.c-kill-buffer-Fix-a-typo.patch --]
[-- Type: text/x-patch, Size: 786 bytes --]

From 9e570fdc3d51c122042970e1be29728c72f6e2f6 Mon Sep 17 00:00:00 2001
From: Matthew White <mehw.is.me@inventati.org>
Date: Sat, 10 Jul 2021 22:33:41 +0000
Subject: [PATCH] * src/buffer.c (kill-buffer): Fix a typo.

---
 src/buffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/buffer.c b/src/buffer.c
index bbb0edd792..02ca23eb2d 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1757,7 +1757,7 @@ cleaning up all windows currently displaying the buffer to be killed. */)
   if (thread_check_current_buffer (b))
     return Qnil;
 
-  /* Run hooks with the buffer to be killed the current buffer.  */
+  /* Run hooks with the buffer to be killed as the current buffer.  */
   {
     ptrdiff_t count = SPECPDL_INDEX ();
 
-- 
2.31.1


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: Fix typo in src/buffer.c
  2021-07-10 22:42 Fix typo in src/buffer.c Matthew White
@ 2021-07-10 22:49 ` Lars Ingebrigtsen
  2021-07-11  6:03 ` Eli Zaretskii
  1 sibling, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-10 22:49 UTC (permalink / raw)
  To: Matthew White; +Cc: emacs-devel

Matthew White <mehw.is.me@inventati.org> writes:

> The attached patch fixes a typo in 'src/buffer.c'.

Thanks; applied to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



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

* Re: Fix typo in src/buffer.c
  2021-07-10 22:42 Fix typo in src/buffer.c Matthew White
  2021-07-10 22:49 ` Lars Ingebrigtsen
@ 2021-07-11  6:03 ` Eli Zaretskii
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2021-07-11  6:03 UTC (permalink / raw)
  To: Matthew White; +Cc: emacs-devel

> Date: Sun, 11 Jul 2021 00:42:20 +0200
> From: Matthew White <mehw.is.me@inventati.org>
> 
> The attached patch fixes a typo in 'src/buffer.c'.
> 
> This is really a trivial fix ;)
> 
> -  /* Run hooks with the buffer to be killed the current buffer.  */
> +  /* Run hooks with the buffer to be killed as the current buffer.  */

It's not a typo (but it doesn't hurt to make that sentence more
explicit).



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

end of thread, other threads:[~2021-07-11  6:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-10 22:42 Fix typo in src/buffer.c Matthew White
2021-07-10 22:49 ` Lars Ingebrigtsen
2021-07-11  6:03 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).