# HG changeset patch # User Stefan Monnier # Date 1052008456 0 # Node ID 9c84256c54562bad3ca84b9caa37919ed01de9a7 # Parent 7fe53d25e2208fe7dab243313d9e3c9c3437c238 (cl-map-keymap): Be careful with aliases. diff -r 7fe53d25e220 -r 9c84256c5456 lisp/emacs-lisp/lucid.el --- a/lisp/emacs-lisp/lucid.el Sun May 04 00:32:46 2003 +0000 +++ b/lisp/emacs-lisp/lucid.el Sun May 04 00:34:16 2003 +0000 @@ -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.