]> 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, 5 Jan 2022 19:28:37 +0000 (14:28 -0500)
commit61f8f7f68f3bac5dc7ab41532902c480417552d8
treecbdb4ac02a50b88d062764d9bcd6b0e1dd2de9f7
parent2b59a425832f6f89bb6b1267812711bfcc7a16cd
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.
lisp/emacs-lisp/cl-generic.el