Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 1.27 KB

README.org

File metadata and controls

44 lines (25 loc) · 1.27 KB

Charles Choi Emacs Configuration Files

This directory contains Elisp files used by Charles Choi to customize his usage of Emacs.

Initially ccinit.el is loaded from init.el. Personal variable configuration (custom-set-variables, custom-set-faces) is stored in custom.el. Note that init.el is not included in this repo, however its relevant contents are shown below:

;; CC's Emacs Init File.

(require 'package) ;; You might already have this line
(add-to-list 'package-archives
             '("melpa" . "http://melpa.org/packages/") t)

(setq cc/cclisp-path (concat (getenv "HOME") "/" "emacs/cclisp"))

(setq load-path (cons cc/cclisp-path load-path))

(package-initialize) ;; You might already have this line
(unless package-archive-contents
  (package-refresh-contents))

(unless (package-installed-p 'use-package)
  (package-install 'use-package))

(setq custom-file (concat cc/cclisp-path "/" "custom.el"))
(load custom-file 'noerror)

(package-install-selected-packages)

(load "ccinit")
;;(load custom-file 'noerror)

(put 'dired-find-alternate-file 'disabled nil)
(put 'upcase-region 'disabled nil)
(put 'downcase-region 'disabled nil)

From ccinit.el, all other Elisp files in this directory are loaded.