Commit 0d7a020a authored by Stefan Monnier's avatar Stefan Monnier

(cl-map-keymap): Be careful with aliases.

parent 24c22ecf
......@@ -31,6 +31,9 @@
(defalias 'current-time-seconds 'current-time)
;; In case cl-map-keymap is an alias for map-keymap, avoid circular calls.
(fset 'cl-map-keymap (indirect-function 'cl-map-keymap))
(defun map-keymap (function keymap &optional sort-first)
"Call FUNCTION for every binding in KEYMAP.
This does not include bindings inherited from a parent keymap.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment