emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/swsw 2b43f66c82 145/146: ; Use 'kbd' instead of vector not


From: ELPA Syncer
Subject: [nongnu] elpa/swsw 2b43f66c82 145/146: ; Use 'kbd' instead of vector notation for 'define-key' example
Date: Wed, 25 May 2022 02:59:57 -0400 (EDT)

branch: elpa/swsw
commit 2b43f66c82005e96764beea3c690903d2e2d0e47
Author: Daniel Semyonov <daniel@dsemy.com>
Commit: Daniel Semyonov <daniel@dsemy.com>

    ; Use 'kbd' instead of vector notation for 'define-key' example
---
 swsw.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swsw.el b/swsw.el
index 48305aa9fc..3a50413295 100644
--- a/swsw.el
+++ b/swsw.el
@@ -56,7 +56,7 @@
 ;;
 ;; More commands can be added through `swsw-command-map':
 ;;
-;; (define-key swsw-command-map [?a] #'my-command)
+;; (define-key swsw-command-map (kbd "a") #'my-command)
 ;;
 ;; You can customize `swsw-mode' using the customize interface:
 ;;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]