From 788b8e049f9f3a5572a1f06d7915bbd52c0441ab Mon Sep 17 00:00:00 2001 From: noa Date: Tue, 29 Apr 2025 15:21:42 +0800 Subject: Updates to useful commands --- emacs/init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emacs/init.el') diff --git a/emacs/init.el b/emacs/init.el index 7485972..7c9da3d 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -801,7 +801,7 @@ With prefix argument TIME, also add the current time." (interactive) (noa/insert-date t)) -(global-set-key (kbd "") 'noa/insert-date-time) +(global-set-key (kbd "") #'noa/insert-date-time) ;; Insert a star rating into the buffer. Currently doesn't check bounds. (defun noa/star-rating (rating) @@ -814,7 +814,7 @@ With prefix argument TIME, also add the current time." (interactive "sYoutube url:") (async-shell-command (concat "yt-dlp -x --audio-format=mp3 -o " - (shell-quote-argument "~/media/music/%(title)s [%(id)s].%(ext)s") + (shell-quote-argument "~/Downloads/%(title)s [%(id)s].%(ext)s") " " (shell-quote-argument url)))) -- cgit 1.4.1-2-gfad0