-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong-type-argument symbolp 'dotspacemacs-folding-method #14875
Comments
I fixed the typo. |
Thanks, here is the complete log:
|
in you |
Thanks, Here is my setup about ;; Code folding method. Possible values are `evil', `origami' and `vimish'.
;; (default 'evil)
dotspacemacs-folding-method `evil' In fact, I have tried many kinds of combination of |
this is incorrect it should be: 'evil |
Thanks, I have tried this option, the error is still there, so I guess maybe I need recompile or clear some caches, but I don't know how to do this, this is the initial question I asked. |
attach your dotspacemacs here |
Thanks.
|
I have tried your dotspacemacs and indeed, the warning message popped up as you mentioned. However, the issue is not due to an error in the code, but rather that you had misquoted your value for Instead of
it should be
The quotations in the comments are to help users distinguish code verbatim from plain text, and should not be used as the values for your variables. For more information on why some have a single quote (like |
Thanks, it works ! I am curious about what you have done to find the wrong code, why it doesn't report the right place. |
It was simply a matter of experience. I also used to make the mistake of misquoting my variables, so I noticed it right away. Spacemacs (and Emacs for that matter) do not report syntax errors, so that's why it did not show. |
closing since it's resolved. |
Reported here syl20bnr#14875
Hi, when I start emacs with
--debug-init
, there is a error:then I find the variable
dotspacemacs-folding-method
's definition is in core-dotspacemacs.el, just below.spacemacs/core/core-dotspacemacs.el
Line 355 in cf21402
I guess the type of evil is wrong , it should be
const
instead ofcosnt
, so I changed it, but the error is still here, I want to knowhow to make the change take effects, do I have to clear some cache or make some compile, I am new in emacs, Thanks!
By the way, my eamcs version is 27.2.
The text was updated successfully, but these errors were encountered: