Next: Feedback, Previous: Installation, Up: Introduction [Contents][Index]
rec-mode should automatically activate when opening .rec files. To make sure files with extension .rec use rec-mode, add the rec-mode buffers need font-lock to be turned on - this is the default in Emacs2.
If the file doesn’t end in .rec, make the first line of a recfile look like this:
# -*- mode: rec -*-
which will select rec-mode for this buffer no matter what the file’s name is.
If you don’t use font-lock globally,
turn it on in the rec buffer with (add-hook 'rec-mode-hook
'turn-on-font-lock)