Skip to content

Commit

Permalink
docs/api: correct global-set-key uses
Browse files Browse the repository at this point in the history
  • Loading branch information
hlissner committed Nov 25, 2019
1 parent 6232f12 commit 69366ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/api.org
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,9 @@ These are side-by-side comparisons, showing how to bind keys with and without
(map! :map lua-mode-map "SPC m b" nil)

;; bind multiple keys
(global-set-key "C-x x" #'do-something)
(global-set-key "C-x y" #'do-something-else)
(global-set-key "C-x z" #'do-another-thing)
(global-set-key (kbd "C-x x") #'do-something)
(global-set-key (kbd "C-x y") #'do-something-else)
(global-set-key (kbd "C-x z") #'do-another-thing)
(map! "C-x x" #'do-something
"C-x y" #'do-something-else
"C-x z" #'do-another-thing)
Expand Down

0 comments on commit 69366ed

Please sign in to comment.