summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa2025-04-29 15:21:42 +0800
committernoa2025-04-29 15:21:42 +0800
commit788b8e049f9f3a5572a1f06d7915bbd52c0441ab (patch)
tree510020118c2fe806a4505921ad3c938d2a091301
parent61f01cafc363aced0ecebbf7eb07bc7d23db7718 (diff)
Updates to useful commands
-rw-r--r--emacs/init.el4
1 files changed, 2 insertions, 2 deletions
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 "<f5>") 'noa/insert-date-time)
+(global-set-key (kbd "<f5>") #'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))))