如何永久禁用emacs站点启动文件? [英] Howto disable the emacs site-start files permanently?
问题描述
在解决这个问题时,我发现我需要禁用网站上的init文件为了让我的emacs + CEDET运行(一切都很好,当启动emacs使用 emacs --no-site-file
,但没有额外的参数被打破)。
When solving this problem I figured out that I need to disable the site-wise init files in order to get my emacs + CEDET running (everything works nicely when starting emacs using emacs --no-site-file
but is broken without the additional argument).
我想永久禁用网站上的初始化文件,但是当启动emacs(启动器/面板/终端)时,我正在使用几种不同的方法/方法不要以为我的 .zshrc
中的别名不起作用。
I'd like to disable the site-wise init files permanently but as I'm using several different approaches/methods when launching emacs (launcher/panel/terminal) I don't think aliasing it in my .zshrc
won't work.
我需要一种方法才能永久禁用所有站点启动文件。有没有办法实现这一点?谢谢!
I require a method to permanently disable all site-start files. Is there any easy way to achieve this? Thanks!
推荐答案
在 / usr / local / bin / emacs $ c $中创建一个包装器c>应该允许您覆盖系统范围内的默认
emacs
,前提是您具有写入权限和一致性 PATH
。
Creating a wrapper in /usr/local/bin/emacs
should allow you to override the default emacs
system-wide, provided you have write access and a sane PATH
.
说完这样,建议 eieio
加载 cedet
可能是一个更充分的解决方法。
Having said that, advising eieio
to load cedet
migh be a more adequate workaround.
这篇关于如何永久禁用emacs站点启动文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!