Emacs配置文件
前几天ubuntu 11.10不知什么原因出了大问题,~目录和root目录下的所有文件突然消失,不知道是不是被黑了,损失惨重。过去的emacs配置文件页不见了,悲剧的是没有备份,虽然现在已将备份放在ubuntu one上,但将自己的.emacs放在这里更方便将来备用。
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(auto-image-file-mode t)
'(blink-cursor-mode nil)
'(global-linum-mode t)
'(inhibit-startup-screen t)
'(nxml-slash-auto-complete-flag t)
'(scroll-bar-mode nil)
'(show-paren-mode t)
'(tool-bar-mode nil)
'(x-select-enable-clipboard t))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(load "~/.emacs.d/auto-save-list/nxhtml/autostart.el")
(add-to-list 'load-path "~/.emacs.d/auto-save-list/color-theme-6.6.0/")
(require 'color-theme)
(eval-after-load "color-theme"
'(progn
(color-theme-initialize)))
;(color-theme-zenburn)
(fset 'yes-or-no-p 'y-or-n-p)