So, I want to do (ispell-change-dictionary)
inside a function I'm writing, but doing a test throws this error:
(wrong-number-of-arguments #[(dict &optional arg)
I was told that M-x
calls the function without arguments. Well, I did the same but for me an error happens. Weird.
I just want to allow the user to select a dictionary without hard-coding the list of dictionaries, showing what's available just as M-x ispell-change-dictionary RET
does.