Install xxx.el for Emacs

来源:互联网 发布:js如何实现文件上传 编辑:程序博客网 时间:2024/05/18 03:58
cp xxx.el ~/Emacs/emacs.elisp

add
(add-to-list 'load-path "~/Emacs/emacs.elisp")
(require 'xxx)
to your .emacs

at the beginning of xxx.el, the author might wrote some "How to"s there,copy some of the scripts you thought it would be usefull to .emacs

relaunch Emacs
or
M-x load-file ~/.emacs
or
open .emacs in Emacs,then M-x eval-buffer