Old emacs-module.h vs using one from an Emacs installation
manphiz opened this issue · comments
It looks like emacs-module.h was copied from the Emacs source tree 6 years ago. I wonder whether this file was kept from being updated so as to be compatible with older Emacs versions?
Meanwhile, is it desirable to let emacs-libvterm detect an existing Emacs installation and use the emacs-module.h from that if available?
Is there anything you would like to have from more recent versions?
Yes, I agree.
It is immediately clear to me that we want to use the most recent emacs-module.h
all the time. If the it changes signficantly (ie, in a non-backward compatible way), we would need to change our vterm-module
too. Similarly, if we wanted to take advantage of newer features, we would probably have to add compatibility on our end.