* bug#21341: An extraneous line in an example in `emacs-lisp-intro.texi'
@ 2015-08-24 17:01 Michal Vyoral
2016-11-30 6:34 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Michal Vyoral @ 2015-08-24 17:01 UTC (permalink / raw)
To: 21341
[-- 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)))
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#21341: An extraneous line in an example in `emacs-lisp-intro.texi'
2015-08-24 17:01 bug#21341: An extraneous line in an example in `emacs-lisp-intro.texi' Michal Vyoral
@ 2016-11-30 6:34 ` Glenn Morris
0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2016-11-30 6:34 UTC (permalink / raw)
To: 21341-done
Version: 25.1
Thanks, this was fixed in Emacs 25.1.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-30 6:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-24 17:01 bug#21341: An extraneous line in an example in `emacs-lisp-intro.texi' Michal Vyoral
2016-11-30 6:34 ` Glenn Morris
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.