Skip to content

NicholasBHubbard/clean-kill-ring.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

clean-kill-ring.el

Usage

When the minor-mode clean-kill-ring-mode is enabled, any string that satisfies one of the filter predicates in the clean-kill-ring-filters list variable will not be allowed into the kill-ring.

By default clean-kill-ring-filters only contains the predicate string-blank-p, which means that no blank lines will be allowed into the kill-ring.

If the variable clean-kill-ring-prevent-duplicates is set to a non-nil value then upon killing text that already exists in kill-ring, the old duplicate entries will be removed.

To manually clean the kill-ring, call the interactive function clean-kill-ring-clean.

Installation

This library is available on MELPA.

License

MIT

Releases

No releases published

Packages

No packages published