branch: externals/exwm
commit c3d1bdabb0d657c8cea16194b9cf1eeb23e431ac
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    ; exwm--global-minor-mode-body: Fix docstring
    
    * exwm-core.el (exwm--global-minor-mode-body): Fix docstring.
---
 exwm-core.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/exwm-core.el b/exwm-core.el
index f0ed70a5d7..8142f4577a 100644
--- a/exwm-core.el
+++ b/exwm-core.el
@@ -411,9 +411,10 @@ One of `line-mode' or `char-mode'.")
         vertical-scroll-bar nil))
 
 (defmacro exwm--global-minor-mode-body (name &optional init exit)
-  "Define EXWM namespaced global minor mode with NAME.
-EXWM's init-hook and exit-hook are modified to call INIT and EXIT functions.
-If an X connection exists, the mode is immediately enabled or disabled."
+  "Global minor mode body for mode with NAME.
+The INIT and EXIT functions are added to `exwm-init-hook' and
+`exwm-exit-hook' respectively.  If an X connection exists, the mode is
+immediately enabled or disabled."
   (declare (indent 1) (debug t))
   (let* ((mode (intern (format "exwm-%s-mode" name)))
          (init (or init (intern (format "exwm-%s--init" name))))

Reply via email to