]> git.eshelyaron.com Git - emacs.git/commit
Use OClosure to drop `advice--buffer-local-function-sample` hack
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 29 Oct 2023 18:12:22 +0000 (14:12 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 29 Oct 2023 18:12:22 +0000 (14:12 -0400)
commitb27e2bbb347c981ad12e05161d2bee195d110dd4
tree0165265705e506778d88f72d0195fff02a6957c7
parent99d4d65cc2cd98537ef58afeace81a11ad2ff6c2
Use OClosure to drop `advice--buffer-local-function-sample` hack

* lisp/emacs-lisp/nadvice.el (advice--forward): New OClosure, to
replace `advice--buffer-local-function-sample`.
(advice--set-buffer-local, advice--buffer-local): Adjust accordingly.
lisp/emacs-lisp/nadvice.el