昨天我从 EmacsWiki 找到了桌面模式,然后我为我的 Emacs 24 配置了它:
;; Desktop
(require 'desktop)
;; save the desktop file automatically if it already exists
(desktop-save-mode 1)
;; use only one desktop
(setq desktop-path '("~/.emacs.d/tmp/"))
(setq desktop-dirname "~/.emacs.d/tmp/")
(setq desktop-base-file-name "desktop.cache")
但是当我重新启动 Emacs 时,我在*Compile-Log*缓冲区中收到警告:
Warning: ad-Orig-kill-region called with 3 arguments, but accepts only 2
其他人在使用桌面时遇到此警告?或者,还有比桌面模式更好的附加组件吗?