소스 검색

use user-emacs-directory

pull/1/head
10sr 12 년 전
부모
커밋
8ab2c21d47
1개의 변경된 파일8개의 추가작업 그리고 6개의 파일을 삭제
  1. +8
    -6
      emacs.el

+ 8
- 6
emacs.el 파일 보기

@@ -1,11 +1,13 @@
;; load another file
;; (load-file "~/filepath")

(unless (file-directory-p (expand-file-name "~/.emacs.d"))
(make-directory (expand-file-name "~/.emacs.d")))
(unless (file-directory-p (expand-file-name "~/.emacs.d/lisp"))
(make-directory (expand-file-name "~/.emacs.d/lisp")))
(add-to-list 'load-path "~/.emacs.d/lisp")
(unless (file-directory-p (expand-file-name user-emacs-directory))
(make-directory (expand-file-name user-emacs-directory)))
(let ((d (expand-file-name (concat user-emacs-directory
"lisp"))))
(unless (file-directory-p d)
(make-directory d))
(add-to-list 'load-path d))

(require 'cl nil t)

@@ -447,7 +449,7 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB."
(setq-default tab-width 4)
(setq-default indent-tabs-mode nil)
(setq-default indent-line-function nil)
;(pc-selection-mode 1) ; this reverts back all keybind defined until this line
;(pc-selection-mode 1) ; this make some already defined keybind back to default
(delete-selection-mode 1)
(cua-mode 0)



불러오는 중...
취소
저장