diff options
Diffstat (limited to 'lisp/+emacs.el')
-rw-r--r-- | lisp/+emacs.el | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/+emacs.el b/lisp/+emacs.el index f26dc98..b7e31e2 100644 --- a/lisp/+emacs.el +++ b/lisp/+emacs.el | |||
@@ -60,15 +60,18 @@ Do this only if the buffer is not visiting a file." | |||
60 | enable-recursive-minibuffers t | 60 | enable-recursive-minibuffers t |
61 | executable-prefix-env t | 61 | executable-prefix-env t |
62 | fast-but-imprecise-scrolling t | 62 | fast-but-imprecise-scrolling t |
63 | find-file-visit-truename t | ||
64 | file-name-shadow-properties '(invisible t intangible t) | 63 | file-name-shadow-properties '(invisible t intangible t) |
65 | fill-column 80 | 64 | fill-column 80 |
65 | find-file-visit-truename t | ||
66 | frame-resize-pixelwise t | 66 | frame-resize-pixelwise t |
67 | global-auto-revert-non-file-buffers t | 67 | global-auto-revert-non-file-buffers t |
68 | global-mark-ring-max 100 | 68 | global-mark-ring-max 100 |
69 | hscroll-margin 1 | 69 | hscroll-margin 1 |
70 | hscroll-step 1 | 70 | hscroll-step 1 |
71 | imenu-auto-rescan t | 71 | imenu-auto-rescan t |
72 | image-use-external-converter (or (executable-find "convert") | ||
73 | (executable-find "gm") | ||
74 | (executable-find "ffmpeg")) | ||
72 | indent-tabs-mode nil | 75 | indent-tabs-mode nil |
73 | indicate-buffer-boundaries 'left | 76 | indicate-buffer-boundaries 'left |
74 | indicate-empty-lines nil | 77 | indicate-empty-lines nil |
@@ -104,7 +107,7 @@ Do this only if the buffer is not visiting a file." | |||
104 | save-interprogram-paste-before-kill t | 107 | save-interprogram-paste-before-kill t |
105 | scroll-conservatively 101 | 108 | scroll-conservatively 101 |
106 | scroll-down-aggressively 0.01 | 109 | scroll-down-aggressively 0.01 |
107 | scroll-margin 1 | 110 | scroll-margin 2 |
108 | scroll-preserve-screen-position 1 | 111 | scroll-preserve-screen-position 1 |
109 | scroll-step 1 | 112 | scroll-step 1 |
110 | scroll-up-aggressively 0.01 | 113 | scroll-up-aggressively 0.01 |
@@ -148,6 +151,9 @@ Do this only if the buffer is not visiting a file." | |||
148 | 151 | ||
149 | ;;; Encodings | 152 | ;;; Encodings |
150 | 153 | ||
154 | ;; Allegedly, this is the only one you need... | ||
155 | (set-language-environment "UTF-8") | ||
156 | ;; But I still set all of these, for fun. | ||
151 | (setq-default locale-coding-system 'utf-8-unix | 157 | (setq-default locale-coding-system 'utf-8-unix |
152 | coding-system-for-read 'utf-8-unix | 158 | coding-system-for-read 'utf-8-unix |
153 | coding-system-for-write 'utf-8-unix | 159 | coding-system-for-write 'utf-8-unix |
@@ -159,7 +165,6 @@ Do this only if the buffer is not visiting a file." | |||
159 | STRING)) | 165 | STRING)) |
160 | 166 | ||
161 | (set-charset-priority 'unicode) | 167 | (set-charset-priority 'unicode) |
162 | (set-language-environment "UTF-8") | ||
163 | (prefer-coding-system 'utf-8-unix) | 168 | (prefer-coding-system 'utf-8-unix) |
164 | (set-default-coding-systems 'utf-8-unix) | 169 | (set-default-coding-systems 'utf-8-unix) |
165 | (set-terminal-coding-system 'utf-8-unix) | 170 | (set-terminal-coding-system 'utf-8-unix) |