spudlyo / clipetty

Manipulate the system (clip)board with (e)macs from a (tty)
GNU General Public License v3.0
167 stars 13 forks source link

Cosmetic cleanup and switch to advisory functions for ICF #18

Closed spudlyo closed 4 years ago

spudlyo commented 4 years ago

Incorporate some feedback from Stefan Monnier.

In addition to some cosmetic cleanup, this PR also changes the way we deal with the interprogram-cut-function. Instead of directly manipulating it, we now use the advisory functions add-function and remove-function to hook it.