diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-05-11 07:54:19 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-05-11 07:54:19 +0000 |
commit | 37442d52629699d89ef62d315d35efbc0facec21 (patch) | |
tree | 9a628dce9299a88717fc402055910fb432a0b326 /ext | |
parent | 24801a4b9a14a56208916a537c4c237993c25186 (diff) | |
download | perl-37442d52629699d89ef62d315d35efbc0facec21.tar.gz |
Include vim/emacs modelines in generated files to open them
in read-only mode. Make vi modelines compatible with non-vim
vi versions.
p4raw-id: //depot/perl@24445
Diffstat (limited to 'ext')
-rw-r--r-- | ext/B/B/Asmdata.pm | 3 | ||||
-rw-r--r-- | ext/ByteLoader/byterun.c | 5 | ||||
-rw-r--r-- | ext/ByteLoader/byterun.h | 4 |
3 files changed, 10 insertions, 2 deletions
diff --git a/ext/B/B/Asmdata.pm b/ext/B/B/Asmdata.pm index 7ee1bfecdf..8c07b22f63 100644 --- a/ext/B/B/Asmdata.pm +++ b/ext/B/B/Asmdata.pm @@ -1,3 +1,4 @@ +# -#- buffer-read-only: t -#- # # Copyright (c) 1996-1999 Malcolm Beattie # @@ -246,3 +247,5 @@ or '&PL_sv_undef'). Malcolm Beattie, C<mbeattie@sable.ox.ac.uk> =cut + +# ex: set ro: diff --git a/ext/ByteLoader/byterun.c b/ext/ByteLoader/byterun.c index a30a6e4e25..75fe0b3702 100644 --- a/ext/ByteLoader/byterun.c +++ b/ext/ByteLoader/byterun.c @@ -1,4 +1,5 @@ -/* +/* -*- buffer-read-only: t -*- + * * Copyright (c) 1996-1999 Malcolm Beattie * * You may distribute under the terms of either the GNU General Public @@ -1136,3 +1137,5 @@ byterun(pTHX_ register struct byteloader_state *bstate) } return 0; } + +/* ex: set ro: */ diff --git a/ext/ByteLoader/byterun.h b/ext/ByteLoader/byterun.h index 334abe6d55..d47c62cf30 100644 --- a/ext/ByteLoader/byterun.h +++ b/ext/ByteLoader/byterun.h @@ -1,4 +1,5 @@ -/* +/* -*- buffer-read-only: t -*- + * * Copyright (c) 1996-1999 Malcolm Beattie * * You may distribute under the terms of either the GNU General Public @@ -198,3 +199,4 @@ enum { OPt_COP /* 10 */ }; +/* ex: set ro: */ |