页面

2011-03-02

automatically read-only mode enabled after idle some time

Now add the following function to `.emacs', and then emacs can automatically toggle into read-only mode after idle some time:
;;; 128秒沉寂后自动转入只读模式
(setq timer_read-only (run-with-idle-timer 128 t 'toggle-read-only 1))

没有评论: