aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorYuan Fu2022-10-29 14:50:25 -0700
committerYuan Fu2022-10-29 14:50:52 -0700
commitf6483526cd4b4b9ed7d830599add82ecb45009e6 (patch)
treefe1b3a590100b9a4cfd316bbbee17eaa72d42818 /lisp/progmodes/python.el
parentf6e3de3f63616d7bd52c1390f9dea70fa33e49c2 (diff)
downloademacs-f6483526cd4b4b9ed7d830599add82ecb45009e6.tar.gz
emacs-f6483526cd4b4b9ed7d830599add82ecb45009e6.zip
Fix byte-compile warning in treesit.el
Originally treesit-simple-indent-presets was '((parent-is . (lambda (type) `(lambda (n p b) (equal (treesit-node-type p) ,type))))) Then I changed it to `((parent-is . ,(byte-compile (lambda (type) (lambda (n p b) (equal (treesit-node-type p) type)))))) but that generates "function already compiled" warning when byte-compiling treesit.el. The latest form shouldn't have any problem anymore. * lisp/treesit.el (treesit-simple-indent-presets): Change byte-compile to plain evaluation.
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions