From 536c9d30e3e387b9f9a1aa00d87aa0bee8961ea8 Mon Sep 17 00:00:00 2001 From: KJ Date: Thu, 9 May 2024 19:06:58 -0400 Subject: [PATCH] Remove unused screenshot function. --- configs/init-functions.el | 12 ------------ configs/init-packages.el | 5 ----- 2 files changed, 17 deletions(-) diff --git a/configs/init-functions.el b/configs/init-functions.el index 6887e68..908576d 100644 --- a/configs/init-functions.el +++ b/configs/init-functions.el @@ -15,18 +15,6 @@ (interactive "nTransparency Value 0 - 100 opaque:") (set-frame-parameter nil 'alpha-background value)) -;; Crear captura SVG del frame atual. Fuente: https://www.reddit.com/r/emacs/comments/idz35e/emacs_27_can_take_svg_screenshots_of_itself/ -(defun 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")) - (data (x-export-frames nil 'svg))) - (with-temp-file filename - (insert data)) - (kill-new filename) - (message filename))) - ;; Comentar línea o región (defun comment-or-uncomment-region-or-line () "Comments or uncomments the region or the current line." diff --git a/configs/init-packages.el b/configs/init-packages.el index 3590e95..d3de08d 100644 --- a/configs/init-packages.el +++ b/configs/init-packages.el @@ -359,11 +359,6 @@ )) ) -;; Paquete para crear imágens (solo lo uso para sacar capturas SVG de emacs) -(use-package silicon - :defer t - :ensure (:host github :repo "iensu/silicon-el")) - ;; Mejorando el scroll (use-package smooth-scrolling :defer t