Closed ustun closed 5 years ago
Existing hooks defined globally should probably not be overridden when autopep8's own hooks are added.
For example, I have the following globally:
(add-hook 'before-save-hook 'delete-trailing-whitespace)
but it is currently overridden.
This PR fixes the issue.
Existing hooks defined globally should probably not be overridden when autopep8's own hooks are added.
For example, I have the following globally:
(add-hook 'before-save-hook 'delete-trailing-whitespace)
but it is currently overridden.
This PR fixes the issue.