[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: clear the kill-ring and free memory?
From: |
Drew Adams |
Subject: |
RE: clear the kill-ring and free memory? |
Date: |
Thu, 12 Sep 2013 13:56:32 -0700 (PDT) |
> > > (setq kill-ring nil)
> > > (garbage-collect)
> > >
> > > but I don't know if that would leave some clipboard
> > > functions/variables in an illegal state.
> >
> > Nope. Go for it. No problem.
>
> Sure? What about `kill-ring-yank-pointer' and `yank-menu'?
What about them? I don't think that either is a problem (e.g.,
"illegal state"). But I'll be glad to be shown wrong.
`Edit > Paste from Kill Menu' won't be emptied too, but there
is no problem with that, AFAIK.
If you are worried, do this instead:
(setq kill-ring-max 1)
Copy some text.
(setq kill-ring-max 60) ; or whatever
- clear the kill-ring and free memory?, unfrostedpoptart, 2013/09/12
- RE: clear the kill-ring and free memory?, Drew Adams, 2013/09/12
- Re: clear the kill-ring and free memory?, Michael Heerdegen, 2013/09/12
- RE: clear the kill-ring and free memory?,
Drew Adams <=
- Re: clear the kill-ring and free memory?, Michael Heerdegen, 2013/09/12
- RE: clear the kill-ring and free memory?, Drew Adams, 2013/09/12
- Re: clear the kill-ring and free memory?, Michael Heerdegen, 2013/09/12
- RE: clear the kill-ring and free memory?, Drew Adams, 2013/09/12
- Re: clear the kill-ring and free memory?, Michael Heerdegen, 2013/09/13
- RE: clear the kill-ring and free memory?, Drew Adams, 2013/09/13
- Re: clear the kill-ring and free memory?, Michael Heerdegen, 2013/09/13
- Message not available
- Re: clear the kill-ring and free memory?, unfrostedpoptart, 2013/09/12
Re: clear the kill-ring and free memory?, Stefan Monnier, 2013/09/13