paetzke / py-autopep8.el

py-autopep8.el integrates autopep8 into Emacs.
GNU General Public License v3.0
79 stars 21 forks source link

kill ring is modified when py-autopep8-enable-on-save hook is triggered #19

Closed cjac closed 7 years ago

cjac commented 8 years ago

Modified ~/.emacs to include

(require 'py-autopep8.el) (add-hook 'python-mode-hook 'py-autopep8-enable-on-save)

After saving, a number of elements have been removed from the kill ring.

code in use is

https://raw.githubusercontent.com/paetzke/py-autopep8.el/575ca51c928e6aaf01650901bce3df1122a11a4c/py-autopep8.el

pronobis commented 8 years ago

Could this pul request be merged? This is a very annoying problem... Thanks!!

cjac commented 8 years ago

Where's the "I hear that!" button?

pronobis commented 8 years ago

This fix is working well, and it should be enough to merge the pull request. Is autopep8 maintained still?