自从我安装了emacs24之后,我的一些配置文件中的微小不重要的部分就停止工作了。由于我真的不关心这个错误,它也不影响我,我只想让Emacs别在初始化警告时嘟囔,并且只打开scratch buffer(现在它会再打开一个带有一些错误内容的buffer)。
有没有一种方法可以做到这一点,而不必花费数小时来调试我不理解的lisp代码?
我真的不能发布配置文件,因为它非常非常大且混乱,但是这是我收到的警告:
"Warning (initialization): An error occurred while loading '/home/sofia/.emacs':
Symbol's function definition is void: plist-to-alist
To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the '--debug-init' option to view a complete error backtrace."
简而言之,我不想确保正常运行,我只想在打开emacs时看到一个buffer。
有没有一种方法可以做到这一点,而不必花费数小时来调试我不理解的lisp代码?
我真的不能发布配置文件,因为它非常非常大且混乱,但是这是我收到的警告:
"Warning (initialization): An error occurred while loading '/home/sofia/.emacs':
Symbol's function definition is void: plist-to-alist
To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the '--debug-init' option to view a complete error backtrace."
简而言之,我不想确保正常运行,我只想在打开emacs时看到一个buffer。
plist-to-alist
,您将看到问题所在-包含该函数定义的库未加载,或该函数不再存在。卡尔·格罗纳(Carl Groner)上面的链接还提供了一个解决方案,可以自己创建缺失的函数。 - lawlist