unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Matthew White <mehw.is.me@inventati.org>
To: emacs-devel@gnu.org
Subject: Fix typo in src/buffer.c
Date: Sun, 11 Jul 2021 00:42:20 +0200	[thread overview]
Message-ID: <20210711004134.4178af63@pineapple> (raw)


[-- 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 --]

             reply	other threads:[~2021-07-10 22:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-10 22:42 Matthew White [this message]
2021-07-10 22:49 ` Fix typo in src/buffer.c Lars Ingebrigtsen
2021-07-11  6:03 ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210711004134.4178af63@pineapple \
    --to=mehw.is.me@inventati.org \
    --cc=emacs-devel@gnu.org \
    /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 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).