There's a mechanism in emacs to customize file load into a buffer by initializing or overriding variables on a per file basis. Local Variables can be defined at the beginning of the file. These local variables get initialized during opening of the file.
-*- coding: utf-8; lexical-binding: t; -*-
-*- mode: org; buffer-read-only:t -*-
another version without the mode tag for other files.
-*- buffer-read-only:t -*-
Created: 2023-06-19 Mon 23:09
No comments:
Post a Comment