that local binding will continue to shadow any global binding
that you make with this function."
(interactive "KSet key globally: \nCSet key %s to command: ")
- (or (vectorp key) (stringp key) (symbolp key)
+ (or (vectorp key) (stringp key)
(signal 'wrong-type-argument (list 'arrayp key)))
(define-key (current-global-map) key command))
(let ((map (current-local-map)))
(or map
(use-local-map (setq map (make-sparse-keymap))))
- (or (vectorp key) (stringp key) (symbolp key)
+ (or (vectorp key) (stringp key)
(signal 'wrong-type-argument (list 'arrayp key)))
(define-key map key command)))