many thanks to @Lompik
* don't match empty unit names. AIUI unit names are alphanumeric with
the exception of the group [-_.@], non ascii are backslash-escaped.
* more strictly match temp file names: .# prefix, [[:hexdigit:]]{16}
suffix. the filenames are a unit name with a unit suffix (systemctl
edit --full) or just override.conf (edit without --full option)
* add regex for dropin config files. This is just a file with ".conf"
extension, with the added constraint that it's a file having some
parent directory named "systemd"
systemd mode ============ Major mode for editing systemd units in GNU Emacs. See the commentary in `systemd.el`. Installation ------------ Available as the `systemd' package on MELPA <http://melpa.org/>. In Emacs 25 or later, one can locally install as a package with M-x package-install-file RET /path/to/systemd-mode RET Otherwise, for either installing into one's `load-path` or a system install, do the usual make make install
Languages
Emacs Lisp
94.5%
Makefile
5.5%