diff options
author | 2023-02-10 14:31:50 +0100 | |
---|---|---|
committer | 2023-02-10 14:31:50 +0100 | |
commit | 0167e6c3849588200e60f7c016e0aa7dbee0f7e4 (patch) | |
tree | 67da541ca73670f6f305121a792d5d088c589972 | |
parent | Makefile: bugfix - FIND -> RM (diff) | |
download | emacs-openrc-0167e6c3849588200e60f7c016e0aa7dbee0f7e4.tar.gz emacs-openrc-0167e6c3849588200e60f7c016e0aa7dbee0f7e4.tar.bz2 emacs-openrc-0167e6c3849588200e60f7c016e0aa7dbee0f7e4.zip |
openrc.el: add menu
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r-- | openrc.el | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -273,6 +273,19 @@ If PRIVILEGED is true, then use the \"sudo\" or \"su\" to run the command." openrc-services-menu-mode-map) "Key map for `openrc-services-menu' major mode.") + +(easy-menu-define openrc-services-menu-menu openrc-services-menu-mode-map + "Menu for `el-fetch-mode'." + '("OpenRC" + ["Refresh" openrc-refresh-services] + ["Describe service" openrc-describe-entry] + ["Restart service" openrc-restart-entry] + ["Toggle service" openrc-toggle-entry] + ["Add to runlevel" openrc-add-entry] + ["Delete from runlevel" openrc-del-entry] + ["Quit" quit-window] + ["Help" describe-mode])) + (define-derived-mode openrc-services-menu-mode tabulated-list-mode "OpenRC Services Menu" "Major mode for listing the OpenRC services." |