Rename unmap! to undefine-key!
unmap! gives the false impression that it is related or similar to map!, but it isn't.
This commit is contained in:
parent
28ec59cd20
commit
916ef0fbbe
3 changed files with 4 additions and 3 deletions
|
@ -77,7 +77,8 @@ all hooks after it are ignored.")
|
|||
:init
|
||||
;; Convenience aliases
|
||||
(defalias 'define-key! #'general-def)
|
||||
(defalias 'unmap! #'general-unbind))
|
||||
(defalias 'undefine-key! #'general-unbind))
|
||||
|
||||
|
||||
;; HACK `map!' uses this instead of `define-leader-key!' because it consumes
|
||||
;; 20-30% more startup time, so we reimplement it ourselves.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue