Next: Handling certain content-types, Up: Non-rendered pages [Contents][Index]
Pages of source code and other files are switched to the appropriate major-mode (see ‘wwe-switch-to-appropriate-mode’).
Because it’s a buffer like any other text buffer, you can edit the file and save it (after making it writable by turning off read-only-mode with ‘C-x C-q’).
For security reasons, ‘enable-local-variables’ is set to nil
. This
disables recognition of ‘-*- mode -*-’ directives at the top of files,
but the mode is set correctly most of the time. See
‘wwe-enable-local-variables’.
WwE automatically removes instances of ^M (control M) at the end of lines from the source code before displaying the file’s text. See ‘wwe-remove-control-m-from-source’ if you don’t want to do this.