Index: buffer.h =================================================================== --- buffer.h (revision 4527) +++ buffer.h (revision 4528) @@ -60,4 +60,9 @@ /* This action is called from ActionElementAddIf() */ int LoadFootprint(int argc, const char **argv, Coord x, Coord y); +/* --------------------------------------------------------------------------- + * access macro for current buffer + */ +#define PASTEBUFFER (&Buffers[conf_core.editor.buffer_number]) + #endif