victorhge / iedit

Modify multiple occurrences simultaneously
https://www.emacswiki.org/emacs/Iedit
402 stars 43 forks source link

Define `iedit-cleanup` function as an obsolete alias #112

Open duianto opened 4 years ago

duianto commented 4 years ago

The function: iedit-cleanup was recently renamed to: iedit-lib-cleanup in the following commit: Update occurrences in `post-command-hook' https://github.com/victorhge/iedit/commit/be44da7e2196895dadb28e3013ec1733d853cd97

It might be useful to define the previous function name as an obsolete alias: https://doc.endlessparentheses.com/Fun/define-obsolete-function-alias.html https://www.gnu.org/software/emacs/manual/html_node/elisp/Obsolete-Functions.html

Then the previous function name still works, but anyone still using it will be informed that they need to update it.

victorhge commented 4 years ago

I am afraid that defining an alias won't fix the problem. iedit-lib-cleanup' has to be used withiedit-lib-start' in pair now.

I need to figure out a better lib user interface.