Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5075bdb5
Commit
5075bdb5
authored
May 07, 2012
by
Glenn Morris
Browse files
* lisp/play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
parent
06f679a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/play/zone.el
lisp/play/zone.el
+2
-3
No files found.
lisp/ChangeLog
View file @
5075bdb5
2012-05-08 Glenn Morris <rgm@gnu.org>
* play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
* progmodes/make-mode.el (makefile-browse):
...
...
lisp/play/zone.el
View file @
5075bdb5
;;; zone.el --- idle display hacks
;; Copyright (C) 2000-2012
Free Software Foundation, Inc.
;; Copyright (C) 2000-2012 Free Software Foundation, Inc.
;; Author: Victor Zandy <zandy@cs.wisc.edu>
;; Maintainer: Thien-Thi Nguyen <ttn@gnu.org>
...
...
@@ -595,8 +595,7 @@ If the element is a function or a list of a function and a number,
(
when
(
<
50
(
random
100
))
(
goto-char
(
point-max
))
(
forward-line
-1
)
(
let
((
kill-whole-line
t
))
(
kill-line
))
(
delete-region
(
point
)
(
line-beginning-position
2
))
(
goto-char
(
point-min
))
(
insert
(
nth
(
random
(
length
lines
))
lines
)))
(
message
(
concat
(
make-string
(
random
(
-
(
frame-width
)
5
))
?
)
"grrr"
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment