summaryrefslogtreecommitdiff
path: root/lisp/use-package/bind-key.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2022-08-08 13:33:17 +0200
committerJonas Bernoulli <jonas@bernoul.li>2022-08-08 23:06:34 +0200
commit53c1889342af1e087208bb7ef4f5c7d0acb61d45 (patch)
tree11bc3311e82ab1ca11a2091cfa6061fa3ae40190 /lisp/use-package/bind-key.el
parente8626100f335a6b3bb5bb5cdee353b2b30435be7 (diff)
downloademacs-53c1889342af1e087208bb7ef4f5c7d0acb61d45.tar.gz
emacs-53c1889342af1e087208bb7ef4f5c7d0acb61d45.tar.bz2
emacs-53c1889342af1e087208bb7ef4f5c7d0acb61d45.zip
Quote single quotes in docstrings or use different quoting
The byte-compiler started pointing this out: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting)
Diffstat (limited to 'lisp/use-package/bind-key.el')
-rw-r--r--lisp/use-package/bind-key.el26
1 files changed, 13 insertions, 13 deletions
diff --git a/lisp/use-package/bind-key.el b/lisp/use-package/bind-key.el
index df76c39ceed..bf5785ff5b4 100644
--- a/lisp/use-package/bind-key.el
+++ b/lisp/use-package/bind-key.el
@@ -160,7 +160,7 @@ For example:
(bind-key \"M-h\" #'some-interactive-function my-mode-map)
- (bind-key \"M-h\" #'some-interactive-function 'my-mode-map)
+ (bind-key \"M-h\" #'some-interactive-function \\='my-mode-map)
If PREDICATE is non-nil, it is a form evaluated to determine when
a key should be bound. It must return non-nil in such cases.
@@ -262,16 +262,16 @@ Accepts keyword arguments:
:repeat-docstring STR - docstring for the repeat-map variable
:repeat-map MAP - name of the repeat map that should be created
for these bindings. If specified, the
- 'repeat-map property of each command bound
- (within the scope of the :repeat-map keyword)
+ `repeat-map' property of each command bound
+ (within the scope of the `:repeat-map' keyword)
is set to this map.
-:exit BINDINGS - Within the scope of :repeat-map will bind the
+:exit BINDINGS - Within the scope of `:repeat-map' will bind the
key in the repeat map, but will not set the
- 'repeat-map property of the bound command.
-:continue BINDINGS - Within the scope of :repeat-map forces the
+ `repeat-map' property of the bound command.
+:continue BINDINGS - Within the scope of `:repeat-map' forces the
same behaviour as if no special keyword had
been used (that is, the command is bound, and
- it's 'repeat-map property set)
+ it's `repeat-map' property set)
:filter FORM - optional form to determine when bindings apply
The rest of the arguments are conses of keybinding string and a
@@ -409,16 +409,16 @@ Accepts keyword arguments:
:repeat-docstring STR - docstring for the repeat-map variable
:repeat-map MAP - name of the repeat map that should be created
for these bindings. If specified, the
- 'repeat-map property of each command bound
- (within the scope of the :repeat-map keyword)
+ `repeat-map' property of each command bound
+ (within the scope of the `:repeat-map' keyword)
is set to this map.
-:exit BINDINGS - Within the scope of :repeat-map will bind the
+:exit BINDINGS - Within the scope of `:repeat-map' will bind the
key in the repeat map, but will not set the
- 'repeat-map property of the bound command.
-:continue BINDINGS - Within the scope of :repeat-map forces the
+ `repeat-map' property of the bound command.
+:continue BINDINGS - Within the scope of `:repeat-map' forces the
same behaviour as if no special keyword had
been used (that is, the command is bound, and
- it's 'repeat-map property set)
+ it's `repeat-map' property set)
:filter FORM - optional form to determine when bindings apply
The rest of the arguments are conses of keybinding string and a