Color theme installation for Emacs in Windows 7

color-theme

Table of Contents

1 Why we need color-theme?

Everyone has his/her style. I perfer the latter. Which do you like?

2 Download color-theme

3 Configuration

  • New a directory emacs_site_lisp in home directory.
  • How to know your home directory? open eshell, then cd, then pwd, you will see the home directory.
  • Unzip the download file, and put it in the dir emacs_site_lisp.
  • Add configuration to .emacs. NOTE: we cannot use the configuration on the websit. It doesn't work.
(setq load-path (append load-path (list "~/emacs_site_lisp")))
(setq load-path (append load-path (list "~/emacs_site_lisp/color-theme-6.6.0")))
(require 'color-theme)
(eval-after-load "color-theme"
'(progn
(color-theme-initialize)
(color-theme-gnome2))) ;;what ever you like, I like color-theme-gnome2

4 Usage

If you want to change the color theme when you've opened the emacs, use this command: M-x color-theme-TAB select which you like

  • My favorit theme? color-thme-gnome2

Date: 2012-05-11 19:43:29

转载于:https://www.cnblogs.com/guyufei/archive/2012/05/12/2496974.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值