0

系统:Linux Mint 20 Emacs 版本 26.3

我用 package-list-packages 更新了所有包,然后运行 ​​Mx prelude-update。使用 emacs --debug -init 重新启动 emacs 后,出现此错误:

(有人知道这个“100”是什么吗?)

Debugger entered--Lisp error: (wrong-type-argument stringp 100)
  expand-file-name(100 "/home/belberg/.emacs.d/")
  projectile-expand-root(100)
  projectile-verify-file(100)
  apply(projectile-verify-file 100)
  #f(compiled-function (&rest cl-x) #<bytecode 0x205cff5>)(100)
  mapcar(#f(compiled-function (&rest cl-x) #<bytecode 0x205cff5>) "debian/control")
  cl-mapcar(#f(compiled-function (&rest cl-x) #<bytecode 0x205cff5>) "debian/control")
  apply(cl-mapcar #f(compiled-function (&rest cl-x) #<bytecode 0x205cff5>) "debian/control" nil)
  cl-map(nil #f(compiled-function (&rest cl-x) #<bytecode 0x205cff5>) "debian/control")
  apply(cl-map nil #f(compiled-function (&rest cl-x) #<bytecode 0x205cff5>) "debian/control" nil)
  cl-every(projectile-verify-file "debian/control")
  projectile-verify-files("debian/control")
  #f(compiled-function (project-type-record) #<bytecode 0x1af4f89>)((debian marker-files "debian/control" project-file "debian/control" compilation-dir nil configure-command nil compile-command "debuild -uc -us" test-command nil install-command nil package-command nil run-command nil))
```
```
"Missing modules file %s" "You can get started by copying the bundled example file from sample/prelude-modules.el" expand-file-name "custom.el" delete "^[^#.].*\\.el$" "Prelude is ready to do thy bidding, Master %s!" version< "25.3" eval-after-load "enriched" #f(compiled-function () #<bytecode 0x483f0d>) prelude-eval-after-init run-at-time ...] 8)
  load("/home/belberg/.emacs.d/init" t t)
  #f(compiled-function () #<bytecode 0x1e0f4d>)()
  command-line()
  normal-top-level()
4

1 回答 1

0

请尝试注释掉对projectilein的引用core/prelude-editor.el。重新启动 emacs,然后运行M-x package-list-packages​​. 刷新软件包列表后键入U,然后x安装软件包。软件包刷新后,退出 emacs,取消注释您注释掉的内容core/prelude-editor.el并重新启动 emacs。

于 2021-05-25T23:53:48.793 回答