为什么 custom.el 中的自定义变量老是自动变化格式

在两者之间不断切换

(custom-set-variables
 '(sort-fold-case nil t))
(custom-set-variables
 '(sort-fold-case nil))

一旦我设置成其中一项, 过一段时间,它就会自动变成另外一项 :slight_smile:,所以git 提交更改时,每次都得discard掉

。。。 好吧, 我不知道为什么当我M-x customize variable的时候,没有这个变量,所以我不知道这个变量怎么跑进来的,所以解决方案就是删掉该行代码 (待观察) :face_with_raised_eyebrow:

sort-fold-case’s value is nil

  This variable is safe as a file local variable if its value
  satisfies the predicate ‘booleanp’.
  Probably introduced at or before Emacs version 19.20.

Documentation:
Not documented as a variable.

[back]

然后,我又 Google 了一下:

Emacs - Bugs - bug#43919: 27.1.50; Customize save may add (sort-fold-case t t)