Startup failed to detect calc-dispatch function

I'm not sure how this happened, but calc no longer works. Whenever I try to run it, I get:

Startup could not detect calc-dispatch function

It worked great last week, and I use the built-in calculator, so I have no idea what has changed so it doesn't work. I ran lgrep in a copy of the calc directory looking for calc-dispatch , and found that calc-dispatch was just fine. Could my .elc files get corrupted?

When I tried to recompile them, I got the following:

calc-fin.el: 29: 1: Error: The required function `calc 'was not provided

+6
source share
1 answer

The problem was that the default default calc-settings-file is called calc.el When I saved the settings, calc.el in my .emacs.d directory .emacs.d calc.el in /usr/share/emacs/lisp/calc/ because I have .emacs.d in my boot path. Transferring the contents of this file to my init.el and deleting it fixed the problem. I emailed an attendant with information about this problem and received a very quick response and explained the problem.

+7
source

Source: https://habr.com/ru/post/910024/


All Articles