0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

spacemacsのdevelop更新に伴うcondition-case: Variable関連の変更に追従する

Posted at

Spacemacsのdevelopブランチで更新している時まあまあ発生する壊れの1つ condition-case: Variable

たとえば

condition-case: Variable: "dotspacemacs-read-process-output-max" has value: "nil" that doesn’t match its type: "(integer)". Validator message: "(user-error Looking for `(integer)' in `nil' failed because:
  not a integer)"

dotspacemacs-read-process-output-maxがnilだけどintegerを入れてくれよ^~

こういうエラーは「 .spacemacsに便利な変数 (dotspacemacs-~~~)が追加されたけど僕らのlocal上にある .spacemacsはdevelop更新の影響を受けないから定義されない (その変数を呼ぶとnilになる)」という理由で起きる気がする。

追従する方法

.spacemacsにその変数を追加する (さっきの例なら dotspacemacs-read-process-output-max)

developに変数が追加されたなら .spacemacsのtemplateファイルも更新されているはずなので、該当箇所をコメントごとコピペすれば良さそう。

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?