Permalink
Browse files

[cage] more emacs ro [GH #1034]

in lib/Parrot/Configure/Compiler.pm genfile(), e.g. Makefiles
  • Loading branch information...
1 parent cbe8d6d commit acc6f5281719950d7be73d581f283888db48af51 Reini Urban committed Feb 26, 2014
Showing with 2 additions and 3 deletions.
  1. +1 −2 compilers/opsc/src/Ops/Emitter.pm
  2. +1 −1 lib/Parrot/Configure/Compiler.pm
@@ -371,8 +371,7 @@ op_lib_t *{self.init_func}(PARROT_INTERP, long init);
method _emit_preamble($fh) {
- $fh.print(qq|
-/* ex: set ro:
+ $fh.print(qq|/* ex: set ro:
* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
*
* This file is generated automatically from '{self<file>}' (and possibly other
@@ -453,7 +453,7 @@ sub genfile {
}
if ( $options{comment_type} ) {
- my @comment = ( 'ex: set ro:',
+ my @comment = ( 'ex: set ro: -*- buffer-read-only:t -*-',
'DO NOT EDIT THIS FILE',
'Generated by ' . __PACKAGE__ . " from $source" );

0 comments on commit acc6f52

Please sign in to comment.