如下代码,在调下。
(add-hook 'org-mode-hook 'my-org-mode-autosave-settings)
(defun my-org-mode-autosave-settings
;; (auto-save-mode 1) ; this is unecessary as it is on by default
(set (make-local-variable 'auto-save-visited-file-name) t)
(setq auto-save-interval 20)
怎么实现emacs的org-mode 自动保存(only for org-mode)
-
- 帖子: 237
- 注册时间: 2011-10-11 10:16