/apparmor-mode

Emacs major mode for editing AppArmor Policies

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

An Emacs major mode for AppArmor policies

License GPL 3 MELPA Build Status

Provides an enhanced editing environment for AppArmor policy files within Emacs, including:

apparmor-mode screenshot

Installation

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 -*-

Manual

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)

License

Copyright © 2018 Alex Murray

Distributed under GNU GPL, version 3.