All future development of apparmor-mode.el is now done under the upstream apparmor project repository at https://gitlab.com/apparmor/apparmor-mode
Provides an enhanced editing environment for AppArmor policy files within Emacs, including:
- Syntax highlighting
- Keyword completion via completion-at-point
- Flymake and Flycheck integration for basic on-the-fly syntax validation via apparmor_parser
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.