[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/bind-map f835ed39fe 06/97: Minor changes
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/bind-map f835ed39fe 06/97: Minor changes |
Date: |
Thu, 20 Jan 2022 07:58:50 -0500 (EST) |
branch: elpa/bind-map
commit f835ed39fee8298fb57d171f3fb0eb93e326f6f6
Author: justbur <justin@burkett.cc>
Commit: justbur <justin@burkett.cc>
Minor changes
---
bind-map.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/bind-map.el b/bind-map.el
index 3c246f05da..7bc80e0347 100644
--- a/bind-map.el
+++ b/bind-map.el
@@ -1,4 +1,4 @@
-;;; bind-map.el --- -*- lexical-binding: t; -*-
+;;; bind-map.el --- Bind personal keymaps in multiple locations -*-
lexical-binding: t; -*-
;; Copyright (C) 2015 Justin Burkett
@@ -52,7 +52,7 @@
;;; Code:
(defgroup bind-map nil
- "A simple way to manage personal keybindings"
+ "Bind personal keymaps in multiple locations."
:group 'emacs)
(defcustom bind-map-default-evil-states '(normal motion visual)
@@ -61,7 +61,7 @@
;;;###autoload
(defmacro bind-map (map &rest args)
- "Bind keymap MAP in multiple places.
+ "Bind keymap MAP in multiple locations.
If MAP is not defined, this will create a new sparse keymap with
the name MAP. Supports binding in evil states and conditioning
the bindings on major and/or minor modes being active. The
@@ -97,7 +97,7 @@ unspecified the bindings are global.
:prefix-cmd COMMAND-NAME
-Declare a prefix command for named COMMAND-NAME."
+Declare a prefix command for MAP named COMMAND-NAME."
(let* ((root-map-sym (intern (format "%s-root-map" map)))
(major-mode-list (intern (format "%s-major-modes" map)))
(activate (intern (format "%s-activate" map)))
@@ -133,7 +133,7 @@ Declare a prefix command for named COMMAND-NAME."
(defvar-local ,activate nil)
(cl-pushnew (cons ',activate ,root-map-sym)
minor-mode-map-alist)
- (setq ,major-mode-list (append ',major-modes ,major-mode-list))
+ (nconc ,major-mode-list ',major-modes)
(defun ,activate-func ()
(setq ,activate (not (null (member major-mode ,major-mode-list)))))
(add-hook 'after-change-major-mode-hook ',activate-func))
- [nongnu] elpa/bind-map 988f14eb77 65/97: Use evil-define-minor-mode-key for minor-mode keys, (continued)
- [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
- [nongnu] elpa/bind-map 46438e30c8 02/97: README formatting, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map f835ed39fe 06/97: Minor changes,
ELPA Syncer <=
- [nongnu] elpa/bind-map 8dea8e8f91 10/97: Grammatical fix in README, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map e5647f14cf 11/97: Clarify modes in README, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map c8fa049b70 13/97: Update Commentary section to match README, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 281a56c332 16/97: Fix major-mode-list, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map db9d72efcd 31/97: Better version of bind-map-key, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 76f742191b 24/97: Add gitignore, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 74e9defb60 25/97: Fix doctrings for recent additions, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map 38dc69ab80 49/97: Make sure major-mode keys are activated initially, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map df2f5081e1 27/97: Use custom kbd command, ELPA Syncer, 2022/01/20
- [nongnu] elpa/bind-map b30c22f7f9 33/97: Report symbol name in previously added error msg, ELPA Syncer, 2022/01/20