do-not-edit.el sets an
Emacs buffer read-only if it
has
DO NOT EDIT
or similar near the start, to stop you accidentally editing generated files.
Various forms from various generator programs are recognised. A Perl "blib"
check sets read-only on
MakeMaker
build files too.
do-not-edit.el is
free software (free
as in freedom), published under the terms of the
GNU General Public
License (v3 or up).
Download version 10 here, or in my miscbits-el collection:
do-not-edit.el
(8k, and
sig)
The sig is a Gnu PG ascii armoured signature generated from my key.
This page Copyright 2009, 2010, 2011, 2012, 2013 Kevin Ryde, except for the GPLv3 logo which is Copyright Free Software Foundation and used here in accordance with its terms.