summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2018-10-16 12:03:15 +0200
committerClément Lassieur <clement.lassieur@parrot.com>2018-10-29 11:15:17 +0100
commitbd5b31c2fb27d636cc374e198b4488219dd7db33 (patch)
treeea35ccd215429fb29e52cc4ea7cec05938d0ffc9
parent98ec727a475044d14e7b15997541ad95773435f4 (diff)
downloadpackages-bd5b31c2fb27d636cc374e198b4488219dd7db33.tar.gz
exwm: add docstrings to oe-local-cmd and oe-global-cmd
-rw-r--r--oe/oe-exwm.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/oe/oe-exwm.el b/oe/oe-exwm.el
index 11ff797..b1a853f 100644
--- a/oe/oe-exwm.el
+++ b/oe/oe-exwm.el
@@ -25,6 +25,7 @@
;;;###autoload
(defmacro oe-local-cmd (key cmd)
+ "Local key bindings are only available in `line-mode'."
`(let* ((kbd-key (kbd ,key))
;; the first key of a key sequence is the prefix
(prefix (aref kbd-key 0)))
@@ -34,6 +35,7 @@
;;;###autoload (autoload 'exwm-input-set-key "oe-exwm" nil t)
;;;###autoload
(defmacro oe-global-cmd (key &rest args)
+ "Global key bindings are available in both `line-mode' and `char-mode'."
`(exwm-input-set-key (kbd ,key) (lambda () (interactive) ,@args)))
;;;###autoload