diff --git a/config.org b/config.org index 881bc96..06d2bc5 100644 --- a/config.org +++ b/config.org @@ -85,11 +85,11 @@ Since Emacs 27, we can take SVG screenshots! Emacs needs to be built with =cairo= to support this. #+begin_src emacs-lisp -(defun screenshot-svg () +(defun my/screenshot-svg () "Save a screenshot of the current frame as an SVG image. Saves to a temp file and puts the filename in the kill ring." (interactive) - (let* ((filename (make-temp-file "Emacs" nil ".svg")) + (let ((filename (make-temp-file "Emacs" nil ".svg")) (data (x-export-frames nil 'svg))) (with-temp-file filename (insert data))