From: Michal Vyoral <michal.vyoral@gmail.com>
To: 21341@debbugs.gnu.org
Subject: bug#21341: An extraneous line in an example in `emacs-lisp-intro.texi'
Date: Mon, 24 Aug 2015 19:01:16 +0200 [thread overview]
Message-ID: <CAO9e4ZLvg4=yVxqtyVN5rv6A_+Y=e4AYWdSAYuHLOKyhdW0anQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 245 bytes --]
There is an extraneous line `(setq kill-ring (cons string kill-ring))'
in the example of the kill-new function in the document
`emacs-lisp-intro.texi'. Also the previous line is not propper
aligned. I suggest the attached patch.
Michal Vyoral
[-- Attachment #2: emacs-lisp-introduction.patch.txt --]
[-- Type: text/plain, Size: 504 bytes --]
--- a/emacs-lisp-intro.texi
+++ b/emacs-lisp-intro.texi
@@ -8668,13 +8668,8 @@ The critical lines are these:
(if (and replace kill-ring)
;; @r{then}
(setcar kill-ring string)
-@end group
-@group
;; @r{else}
- (push string kill-ring)
-@end group
-@group
- (setq kill-ring (cons string kill-ring))
+ (push string kill-ring)
(if (> (length kill-ring) kill-ring-max)
;; @r{avoid overly long kill ring}
(setcdr (nthcdr (1- kill-ring-max) kill-ring) nil)))
next reply other threads:[~2015-08-24 17:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-24 17:01 Michal Vyoral [this message]
2016-11-30 6:34 ` bug#21341: An extraneous line in an example in `emacs-lisp-intro.texi' Glenn Morris
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='CAO9e4ZLvg4=yVxqtyVN5rv6A_+Y=e4AYWdSAYuHLOKyhdW0anQ@mail.gmail.com' \
--to=michal.vyoral@gmail.com \
--cc=21341@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 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.