-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinit.el
30 lines (23 loc) · 997 Bytes
/
init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
;;; init.el: --- -*-byte-compile-dynamic: nil;-*-
;;; Commentary:
;;; Code:
;;;; Automatically added by Package.el.
;; Next line must come before configurations of installed packages.
;;(package-initialize) ; Don't delete this line.
(setq inhibit-startup-message t)
(setq keyboard-coding-system 'utf-8)
(setq terminal-coding-system 'utf-8)
(setq buffer-file-coding-system 'utf-8)
(defadvice called-interactively-p
(after called-interactively-p-ignore-err last (&optional arg))
"Defadvice at init.el. To stay away from error such that \
\" called-interactively-p, 1 progn: End of buffer \"."
(cond
((or (eq arg nil) (eq arg 1) (eq arg t))
(ignore-errors (called-interactively-p)))
))
;;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;;; == conf for different window-systems ==
;; locate-user-emacs-file is a compiled Lisp function in `subr.el'
(load (locate-user-emacs-file (concat (prin1-to-string window-system) ".el")))
;;; init.el ends here