URL git@gitee.com:daotoyi/emacs.d.git
cd emacs.d/emacs.d
mkdir ~/.emacs.d/
cp -rf * ~/.ecmsc.d/
can't load .el file when statup,
Please have a look at the accompanying
default.el
customisation example. It can be used as a configuration file (after moving it e. g. to/usr/share/emacs/site-lisp
orc:\EMACS_INSTALLDIR\site-lisp
, hint: The directory site-lisp/ in the Emacs installation tree is in its default load-path). Yet default.el is loaded AFTER your personal Emacs configuration file (if there is any)~/.emacs
(or~/.emacs.d/init.el
)! If you intend to change the following settings with Emacs customisation system or changing them directly in your personal configuration file, you must either set the variableinhibit-default-init
to (setq inhibit-default-init t) in your personal configuration file or removedefault.el
otherwise your settings might be overwritten!
[refer]Debugger entered--Lisp error: (file-error "Cannot open load file" "/home/andre/a-m")
moving init-xxx.el to '/usr/share/emacs/site-lisp’ or c:\EMACS_INSTALLDIR\site-lisp’
Configuration in different platfrom is distiguished, such as:
(when (eq system-type 'windows-nt)
(add-to-list 'exec-path "d:/Program Files/MPlayer for Windows/"))
(when (eq system-type 'gnu/linux)
(add-to-list 'exec-path "/mnt/d/Program Files/MPlayer for Windows/"))
(add-to-list 'load-path (expand-file-name (concat EamcsConfDir ".emacs.d/lisp/")))
;;; Package Management
(require 'init-elpa)
...
(require 'custom)
...
;;; MUST BE, eg.(provide 'init-elpa)
(provide 'init-xxx)
Running when start!
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。