[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/bind-map 21b7ba7eca 30/97: Fix some docstrings
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/bind-map 21b7ba7eca 30/97: Fix some docstrings |
Date: |
Thu, 20 Jan 2022 07:59:12 -0500 (EST) |
branch: elpa/bind-map
commit 21b7ba7ecaf313f67323356c3a75633b32e2d105
Author: justbur <justin@burkett.cc>
Commit: justbur <justin@burkett.cc>
Fix some docstrings
---
bind-map.el | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/bind-map.el b/bind-map.el
index 32260f7564..2e4ac36671 100644
--- a/bind-map.el
+++ b/bind-map.el
@@ -186,13 +186,13 @@ Declare a prefix command for MAP named COMMAND-NAME."
single major mode. MAJOR-MODE-SYM is the unquoted symbol
representing a major mode. This macro makes the call
-\(bind-map MAJOR-MODE-SYM-bm-map
+\(bind-map map-name
:major-modes \(MAJOR-MODE-SYM\)
ARGS\)
where ARGS should include :keys or :evil-keys. The name of the
-generated keymap is returned, which is always the name of the
-major mode with -bm-map appended."
+generated keymap is returned, which is MAJOR-MODE-SYM concatenated
+with `bind-map-default-map-suffix'."
(let ((map-name (intern (concat (symbol-name major-mode-sym)
bind-map-default-map-suffix))))
`(progn
@@ -208,13 +208,13 @@ major mode with -bm-map appended."
single minor mode. MINOR-MODE-SYM is the unquoted symbol
representing a minor mode. This macro makes the call
-\(bind-map MINOR-MODE-SYM-bm-map
+\(bind-map map-name
:minor-modes \(MINOR-MODE-SYM\)
ARGS\)
where ARGS should include :keys or :evil-keys. The name of the
-generated keymap is returned, which is always the name of the
-minor mode with -bm-map appended."
+generated keymap is returned, which is MINOR-MODE-SYM
+concatenated with `bind-map-default-map-suffix'."
(let ((map-name (intern (concat (symbol-name minor-mode-sym)
bind-map-default-map-suffix))))
`(progn
@@ -241,10 +241,9 @@ STATES and KEYS."
;;;###autoload
(defun bind-map-set-keys (map key def &rest bindings)
- "Add a series of default bindings to MAP.
-Default bindings never override existing ones. BINDINGS is a
-series of KEY DEF pairs. Each KEY should be a string suitable for
-`kbd'."
+ "Add a series of bindings to MAP.
+BINDINGS is a series of KEY DEF pairs. Each KEY should be a
+string suitable for `kbd'."
(while key
(define-key map (bind-map-kbd key) def)
(setq key (pop bindings) def (pop bindings))))
- [nongnu] elpa/bind-map 7d20946692 04/97: Add autoloads, (continued)
- [nongnu] elpa/bind-map 7d20946692 04/97: Add autoloads, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 7de08fe592 43/97: Move a defvar and reword docstring, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map bb7a8b2258 59/97: Remove declare-function from previous commit, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 6d05297e3c 20/97: Add another example and more detail to README, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map d47be94d23 63/97: Don't try to bind keys that are nil or "", ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map ebc4c9fb11 34/97: Remove bind-map-kbd hack, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 8ec4516db2 48/97: Remove use of evil-define-key, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map c182707793 41/97: Remove unnecessary helper functions and reorg, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map b0b9e18947 66/97: Revert last commit, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map f51d4b0c0d 79/97: Add bind-map-for-modes-derived, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 21b7ba7eca 30/97: Fix some docstrings,
ELPA Syncer <=
- [nongnu] elpa/bind-map cc1db8958c 64/97: Version 0.1, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 988f14eb77 65/97: Use evil-define-minor-mode-key for minor-mode keys, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 292794739c 71/97: Fix incorrect check of override mode in local hook, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map b187069313 22/97: Add short versions for single major/minor mode, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map d45971cd40 46/97: Use minor mode for overriding behavior, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 8d6b489feb 50/97: Add some basic tests, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 24d453a1e8 55/97: Call evil-normalize-maps for evil-keys, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map b47b98455f 87/97: Simplify macro exp. for bind-mapfor-mode-inherit, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 078c522f6e 93/97: Fix Makefile, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map ffe5e63617 92/97: Version 1.1.0, ELPA Syncer, 2022/01/20