branch: elpa/crux commit 2b4bf62b00a8140a44dc2d4d24a73d025e195694 Author: Jimmy Yuen Ho Wong <wyue...@users.noreply.github.com> Commit: Bozhidar Batsov <bozhidar.bat...@gmail.com>
Give crux group to crux-reopen-as-root-mode --- crux.el | 1 + 1 file changed, 1 insertion(+) diff --git a/crux.el b/crux.el index dac93f6..53e644a 100644 --- a/crux.el +++ b/crux.el @@ -444,6 +444,7 @@ See also `crux-reopen-as-root-mode'." "Automatically reopen files as root if we can't write to them as the current user." :global t + :group 'crux (if crux-reopen-as-root-mode (add-hook 'find-file-hook #'crux-reopen-as-root) (remove-hook 'find-file-hook #'crux-reopen-as-root)))