-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsettings.el
25 lines (21 loc) · 875 Bytes
/
settings.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
(setq auto-save-default nil
comment-auto-fill-only-comments t
confirm-nonexistent-file-or-buffer nil
custom-file "~/.emacs.d/custom.el"
delete-selection-mode 1
disabled-command-function nil
global-auto-revert-non-file-buffers t
kill-buffer-query-functions (remq 'process-kill-buffer-query-function
kill-buffer-query-functions))
(setq-default c-basic-offset 4
fill-column 72
indent-tabs-mode nil
tab-width 2
truncate-lines t)
(c-set-offset 'case-label '+)
(if (boundp 'use-short-answers)
(setq use-short-answers t)
(fset 'yes-or-no-p 'y-or-n-p))
(add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p)
;; load ~/.emacs.d/settings
(mapc 'load (directory-files "~/.emacs.d/settings" t "^[A-Za-z-]*\\.el"))