From 0d7a020af5fc9ad3ad1797cd668464dccd0b14d0 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 4 May 2003 00:34:16 +0000 Subject: [PATCH] (cl-map-keymap): Be careful with aliases. --- lisp/emacs-lisp/lucid.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/emacs-lisp/lucid.el b/lisp/emacs-lisp/lucid.el index 1ec500326ff..ac27faba032 100644 --- a/lisp/emacs-lisp/lucid.el +++ b/lisp/emacs-lisp/lucid.el @@ -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. -- 2.39.2