代码拉取完成,页面将自动刷新
;;; init.el --- the entry of emacs config -*- lexical-binding: t -*-
;; Github: https://gitee.com/yaoyue126/emacs.d
;;; Code:
;; set the startup default directory, not essential but recommended.
(setq default-directory "~/")
;; update load-path to make customized lisp codes work
(dolist (folder (directory-files (concat user-emacs-directory "lisp") t directory-files-no-dot-files-regexp))
(add-to-list 'load-path folder))
;; customized functions
(require 'init-fn)
;; change Emacs default settings here, variables only (NOT include built-in packages)
(require 'init-system)
;; settings for Melpa/Elpa/GNU repos for Emacs package manager
(require 'init-elpa)
;; change default Emacs settings with built-in packages
(require 'init-builtin)
;; all the third-part packages configed here
(require 'init-package)
;; different settings depends on os platform
(require 'init-platform)
;; settings for programming languages (include IDE/LSP feature)
(require 'init-lang)
;; other features, such as UI/daemon etc.
(require 'init-feature)
;; windows number
(require 'init-winum)
;; calendar
(require 'init-calendar)
;; email mu4e
(require 'init-mu4e)
;; custom setting
(require 'init-setting)
;; DON'T forget to define and load custom file at last
(setq custom-file (locate-user-emacs-file "custom.el"))
(when (file-exists-p custom-file)
(load custom-file))
(setq debug-on-error t)
(provide 'init)
;;; init.el ends here
;;; Local Variables:
;; coding: utf-8
;; byte-compile-warnings: (not unresolved obsolete)
;; End:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。