Well, rm -rf .emacs.d/straight/ followed by repulling and rebuilding seemed to fix things.
I am surprised that I still saw the same problem with emacs -Q but my simple-config.el did use straight. Perhaps straight in simple-config.el just ended up using the same build files that were corrupted... Anyways I guess mark this one frustrating but solved. Justin Ihor Radchenko <yanta...@gmail.com> writes: > Justin Silverman <jsilv...@gmail.com> writes: > >> I am having a problem and getting a wrong-type-argument error when >> trying to run `org-beamer-export-to-pdf' on the attached file >> `debug.org' (see backtrace below). The problem also occurs when >> running `org-latex-export-to-pdf'. >> ... >> Backtrace: >> >> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) >> jit-lock--run-functions(1218 1284) >> jit-lock-fontify-now(1218 #<marker at 1284 in L4-6_CoDA.org<2>>) >> #<subr font-lock-ensure>(1218 #<marker at 1284 in L4-6_CoDA.org<2>>) >> polymode-inhibit-during-initialization(#<subr font-lock-ensure> 1218 >> #<marker at 1284 in L4-6_CoDA.org<2>>) > > The backtrace shows that you are using polymode. Does the problem > persist without polymode?