add-modelines is a non-core shell script to add, edit and remove modelines from sourcefiles. It is "alpha" quality, so it might eat your pet, as well as your uncommitted source code. It shouldn't do this, but it might.
How to use
add-modeliens has the following optional arguments:
- -z (authorizes add-modelines to zap existing modelines where they are found)