Function: map-keys-apply
map-keys-apply is a byte-compiled function defined in map.el.gz.
Signature
(map-keys-apply FUNCTION MAP)
Documentation
Return the result of applying FUNCTION to each key in MAP.
The default implementation delegates to map-apply.
Other relevant functions are documented in the map group.
Shortdoc
;; map
(map-keys-apply #'1+ (list '(1 . 2) '(3 . 4)))
=> (2 4)
Implementations
(map-keys-apply FUNCTION MAP) in `map.el'.
Undocumented
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/map.el.gz
(cl-defgeneric map-keys-apply (function map)
"Return the result of applying FUNCTION to each key in MAP.
The default implementation delegates to `map-apply'."
(map-apply (lambda (key _)
(funcall function key))
map))