leoliu / play-sound-osx

Implement play-sound-internal on osx using aplay
17 stars 1 forks source link

Package cl is deprecated #2

Open micdiamond opened 3 years ago

micdiamond commented 3 years ago

Thank you for this! It worked for me :)

I'm pretty new to emacs, so this could be a silly question/issue.

I pasted the code from your .el into my config.el (I am using doom emacs) I am now getting a message "Package cl is deprecated"

I found this thread about the issue, but couldn't work out how to get the issue to go away.

Do you have this error/do you know how to remove it? Many thanks

micdiamond commented 3 years ago

Please ignore my comment. I fixed this by adding this to my init.el file (setq byte-compile-warnings '(cl-functions)) I'm not sure how it works but I found it in this issue: https://github.com/kiwanami/emacs-epc/issues/35

douo commented 2 years ago

@micdiamond You can use cl-destructuring-bind replace destructuring-bind to get a rid of deprecated cl package.

256k commented 6 months ago

i changed the 'cl to 'cl-lib and it worked. i think cl is now called cl-lib?