I installed emacs 24.1 and dictionary.el, which is a dictd client plugin for emacs. I am able to look up dictionary within command “dict xxx”, it works just fine.
However, dictionary.el doesn’t work correctly, whenever I use “M-x dictionary-search” to find something, minibuffer displays “dictionary-mode: Symbol’s function definition is void: make-local-hook”.
Here is what I have in dot-emacs:
(setq dictionary-server “localhost”)
Any ideas?
If you’re referring to http://me.in-berlin.de/~myrkr/dictionary/
Then the issue would be here:
Because the
add-hookcall supplies thelocalargument, you can resolve this issue by deleting (or commenting out) the first line with the call tomake-local-hook. That line was only left in the code to provide backward-compatibility with very old versions of Emacs, and is otherwise redundant.Make sure you send them a bug report.
Edit: tripleee has pointed out that this problem has already been fixed in the current version of the library, which now lives at the following URL:
https://github.com/myrkr/dictionary-el