Eric Schulte <eric.schu...@gmx.com> writes: > Andreas Leha <andreas.l...@med.uni-goettingen.de> writes: > >> Eric Schulte <eric.schu...@gmx.com> writes: >> >>> Andreas Leha <andreas.l...@med.uni-goettingen.de> writes: >>> >>>> Hi all, >>>> >>>> with the current HEAD (commit 0202adb1c02908a75a7845438381e40d811fd99a) >>>> from master I get an error during the export of >>>> one of my files complaining about an undefined my-filt function. >>>> >>>> Replacing org-flet with flet in ob-comint.el (line 78) introduces a >>>> compiler warning, but solves the problem. >>>> >>>> I am on emacs 24.1.50.1. >>>> >>> >>> Hi Andreas, >>> >>> Does replacing `org-flet' in line 78 of ob-comint.el with `org-labels' >>> solve this problem? >>> >>> Thanks, >> >> Hi Eric, >> >> thanks for the quick response. But org-labels does not solve the >> problems for me. >> >> Backtrace is attached. Don't know if this is interesting... >> > > Ugh, I wish Emacs wouldn't replace an existing function with a new > function which not only has a different name, but also has different > functionality. > > Does the attached patch resolve this bad behavior? >
No, it does not, unfortunately. Same thing: ,---- | (void-function my-filt) | my-filt("") | run-hook-with-args(my-filt "") | comint-send-input() | inferior-ess-send-input() | .... `---- Regards, Andreas