Provides an enhanced editing environment for AppArmor policy files within Emacs, including:
The preferred way to install apparmor-mode
is via
MELPA - then you can just M-x package-install RET
apparmor-mode RET
To enable then simply add the following to your init file:
(require 'apparmor-mode)
Then when opening an AppArmor policy file enable via:
M-x apparmor-mode
To ensure this is done automatically, add the following to the top of the policy file:
# -*- mode:apparmor -*-
If you would like to install the package manually, download or clone it and
place within Emacs' load-path
, then you can require it in your init file like
this:
(require 'apparmor-mode)
Copyright © 2018 Alex Murray
Distributed under GNU GPL, version 3.