From be2d23e58721b7acc68c0ea654a38e5109df2aa2 Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Tue, 27 Jan 2015 23:55:26 +0000 Subject: [PATCH] lisp/emacs-lisp/cl.el (cl--function-convert): Merge cache that cl--labels-convert adds (bug#19699) --- lisp/ChangeLog | 5 +++++ lisp/emacs-lisp/cl.el | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 182d7705bb6..816a8cb6b43 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2015-01-27 Katsumi Yamaoka + + * emacs-lisp/cl.el (cl--function-convert): + Merge cache that cl--labels-convert adds (bug#19699). + 2015-01-27 Ivan Shmakov * tar-mode.el: Allow for adding new archive members. (Bug#19274) diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el index 1cd7bd76b0e..1b204631fb8 100644 --- a/lisp/emacs-lisp/cl.el +++ b/lisp/emacs-lisp/cl.el @@ -377,7 +377,9 @@ The two cases that are handled are: res)))) (t (setq cl--labels-convert-cache cl--function-convert-cache) - (cl--labels-convert f)))) + (prog1 + (cl--labels-convert f) + (setq cl--function-convert-cache cl--labels-convert-cache))))) (defmacro lexical-let (bindings &rest body) "Like `let', but lexically scoped. -- 2.39.2