help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

clear the kill-ring and free memory?


From: unfrostedpoptart
Subject: clear the kill-ring and free memory?
Date: Thu, 12 Sep 2013 11:47:38 -0700 (PDT)
User-agent: G2/1.0

Hi.

I've been having a lot of emacs (24.3.1 linux) hangs/crashes/cpu-hogging 
related to too much stuff in the kill-ring.  I'm looking for a nice, safe way 
to empty it.  I've searched around a lot and haven't seen a good solution.  
There's 

(setq kill-ring nil) 
(garbage-collect)

but I don't know if that would leave some clipboard functions/variables in an 
illegal state.

Thanks!

 David


reply via email to

[Prev in Thread] Current Thread [Next in Thread]