]> git.eshelyaron.com Git - emacs.git/commit
cl-generic.el: Fix bug#46722
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 5 Jan 2022 19:28:08 +0000 (14:28 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 6 Apr 2022 18:26:40 +0000 (14:26 -0400)
commit4161a368499a3326d13113aa5c6ab332047df767
tree746dfeea7865cf48418c5444a2acadd29fbab16e
parent8c71ac606ec484d5e9cf967b41aadbddb5c8b694
cl-generic.el: Fix bug#46722

Fix longstanding bug due to unexpected interference via side-effect.

* lisp/emacs-lisp/cl-generic.el (cl--generic-get-dispatcher):
Copy the `dispatch` arg before storing it into the hash-table.

Backport from `master` (cherrypick from commit 61f8f7f68f).
lisp/emacs-lisp/cl-generic.el