Search code examples
cemacselispprimitive

Is it possible to write custom primitives for GNU Emacs with C?


GNU Emacs is easily extended with Emacs Lisp. In some cases you may hit a performance wall even after byte compiling. In this situation it would be useful to be able to write C functions that you could call from Emacs Lisp code. Is this possible? How do you do it? Is there example code?


Solution

  • Is this (Writing Emacs Primitives) what you are looking for?