Wow. Been using and extending Emacs for 40 years and I've never had to even look at lisp.h or hack the C code.