Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我键入时,内置的 Dired 就会启动C-x d。dired+已加载,因为我可以运行diredp-*命令,但dired+仅在我运行diredp命令后才启动。问题是什么?我正在使用 Emacs 24.1,并dired+通过包管理器安装。
dired+
diredp-*
diredp
Dired+ 未加载。您看到的所有功能都是自动加载的。这意味着只要你调用其中一个函数,emacs 就知道它需要读取 diredp.el。读取该文件后,它会覆盖默认目录并使一切正常。
要解决您的问题,只需(require 'diredp)在您的.emacs.
(require 'diredp)
.emacs