.emacs
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Dec 2008 23:13:46 +0200
changeset 110 6b6e3f8cb371
parent 102 25585e240b4a
child 112 3d1b437969cb
permissions -rw-r--r--
Set copyright notice.

;; -*- mode: lisp; coding: cp1251 -*-
;;
;; Copyright (C) 2008 by Oleksandr Gavenko <gavenkoa@gmail.com>
;;
;; This file placed in public domain.
;;
;; ~/.emacs firstly load ~/.emacs-my-pre, then ~/.emacs-my, then ~/.emacs-my-post.

;; ======================================================================
;; Load path.
(defvar my-el-dir
  (expand-file-name "~/.el")
  "Here live additional lisp packages.")
(defvar my-usr-el-dir
  (expand-file-name "~/usr/share/emacs/site-lisp")
  "Here live additional lisp packages.")

(add-to-list 'load-path my-el-dir)
(add-to-list 'load-path my-usr-el-dir)

(defvar dot-emacs-my-pre (expand-file-name "~/.emacs-my-pre")
  "Path to file with pre-loaded custom settings.")
(defvar dot-emacs-my-post (expand-file-name "~/.emacs-my-post")
  "Path to file with post-loaded custom settings.")

;; pre-load custom settings
(if (file-exists-p dot-emacs-my-pre)
    (load dot-emacs-my-pre))

;; load main customization
(load "~/.emacs-my")

;; post-load custom settings
(if (file-exists-p dot-emacs-my-post)
    (load dot-emacs-my-post))

(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(pc-select-meta-moves-sexps t)
 '(read-quoted-char-radix 16)
 )
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(hl-line ((t (:inherit highlight :background "light yellow")))))