unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Xiyue Deng <manphiz@gmail.com>
To: 67577@debbugs.gnu.org
Subject: bug#67577: Acknowledgement (29.1; Comments in kill-region seem to explain unless wrong)
Date: Fri, 01 Dec 2023 21:46:21 -0800	[thread overview]
Message-ID: <87bkb99mxe.fsf@debian-hx90.lan> (raw)
In-Reply-To: <handler.67577.B.170149541415494.ack@debbugs.gnu.org> (GNU bug Tracking System's message of "Sat, 02 Dec 2023 05:37:02 +0000")

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-Fix-comment-in-code-example-in-kill-region-implement.patch --]
[-- Type: text/x-diff, Size: 1099 bytes --]

From 5e47c98228eccf53b95b8a268dcaf4f43c88a35b Mon Sep 17 00:00:00 2001
From: Xiyue Deng <manphiz@gmail.com>
Date: Fri, 1 Dec 2023 21:30:31 -0800
Subject: [PATCH] Fix comment in code example in kill-region implementation
 (Bug#67577)

* doc/lispintro/emacs-lisp-intro.texi (Complete kill-region): fix
comment on 'unless' being the inverse of 'if'
---
 doc/lispintro/emacs-lisp-intro.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi
index e4a0f585f69..74efd536182 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -7904,7 +7904,7 @@ The command \\[yank] can retrieve it from there. @dots{} "
   ;; @bullet{} Since order matters, pass point first.
   (interactive (list (point) (mark)))
   ;; @bullet{} And tell us if we cannot cut the text.
-  ;; 'unless' is an 'if' without a then-part.
+  ;; 'unless' is the inverse of 'if' without a then-part.
   (unless (and beg end)
     (error "The mark is not set now, so there is no region"))
 @end group
-- 
2.39.2


[-- Attachment #2: Type: text/plain, Size: 15 bytes --]

-- 
Xiyue Deng

  parent reply	other threads:[~2023-12-02  5:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-02  5:36 bug#67577: 29.1; Comments in kill-region seem to explain unless wrong Xiyue Deng
     [not found] ` <handler.67577.B.170149541415494.ack@debbugs.gnu.org>
2023-12-02  5:46   ` Xiyue Deng [this message]
2023-12-02  7:47 ` Eli Zaretskii
2023-12-02  9:21   ` Xiyue Deng
2023-12-02 12:36     ` Eli Zaretskii
2023-12-03  0:17       ` Xiyue Deng
2023-12-03  6:32         ` 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=87bkb99mxe.fsf@debian-hx90.lan \
    --to=manphiz@gmail.com \
    --cc=67577@debbugs.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).