I use emms to play music in emacs and I have this function to add a music directory and shuffle it.
(defun my-emms-command() "Run `emms-add-directory' and `emms-shuffle' in sequence." (interactive) (emms-add-directory) (emms-shuffle)) (global-set-key (kbd "s-m a") 'my-emms-command)
But calling on this command returns "wrong number of argumets"
How do I fix this?