about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2017-12-31T13·01+0800
committerChris Feng <chris.w.feng@gmail.com>2017-12-31T13·01+0800
commit46c40363063299f354d87cde3439d108eb2010cc (patch)
treef2fd5e26c35c04d0c02e7c0c2ca6a7589ff5e73c
parentdd0a62c405b52244f42fd8a0e72282c742772ad3 (diff)
; Add missing autoload cookies.
-rw-r--r--exwm-cm.el4
-rw-r--r--exwm-input.el1
2 files changed, 5 insertions, 0 deletions
diff --git a/exwm-cm.el b/exwm-cm.el
index 223ef5da303c..060dce780bf3 100644
--- a/exwm-cm.el
+++ b/exwm-cm.el
@@ -146,6 +146,7 @@ The value is between 0 (fully transparent) to #xFFFFFFFF (opaque)."
     (when reply
       (slot-value reply 'value))))
 
+;;;###autoload
 (defun exwm-cm-set-opacity (xwin opacity)
   "Set the opacity of X window XWIN to OPACITY.
 
@@ -1759,17 +1760,20 @@ Create implicit workspace frame container")))
   (add-hook 'exwm-init-hook #'exwm-cm--init t)
   (add-hook 'exwm-exit-hook #'exwm-cm--exit t))
 
+;;;###autoload
 (defun exwm-cm-start ()
   "Start EXWM compositing manager."
   (interactive)
   (unless exwm-cm--conn
     (exwm-cm--init)))
 
+;;;###autoload
 (defun exwm-cm-stop ()
   "Stop EXWM compositing manager."
   (interactive)
   (exwm-cm--exit))
 
+;;;###autoload
 (defun exwm-cm-toggle ()
   "Toggle the running state of EXWM compositing manager."
   (interactive)
diff --git a/exwm-input.el b/exwm-input.el
index 302b3d9f2ae7..38fd751affe1 100644
--- a/exwm-input.el
+++ b/exwm-input.el
@@ -435,6 +435,7 @@ This value should always be overwritten.")
                 (user-error "[EXWM] Failed to grab key: %s"
                             (single-key-description k))))))))))
 
+;;;###autoload
 (defun exwm-input-set-key (key command)
   "Set a global key binding."
   (interactive "KSet key globally: \nCSet key %s to command: ")