New answers tagged

3

It's only you're having syntax issues, try this: (defun copybuffer () "function takes current region, and writes it to specified file" (interactive) (write-region (region-beginning) (region-end) "~/copybuffer.txt")) Summary: region-beginning and region-end are functions, so they have to be between parenthesis to be recognized as ...


Top 50 recent answers are included