Minor comment revision
This commit is contained in:
parent
1a92dcab7e
commit
3894611a8f
3 changed files with 12 additions and 7 deletions
6
bin/doom
6
bin/doom
|
@ -7,12 +7,14 @@
|
||||||
:; exit $__DOOMCODE
|
:; exit $__DOOMCODE
|
||||||
|
|
||||||
;; The garbage collector isn't as important during CLI ops. A higher threshold
|
;; The garbage collector isn't as important during CLI ops. A higher threshold
|
||||||
;; makes it 15-30% faster, but set it too high and we risk spiralling memory
|
;; makes it 15-30% faster, but set it too high and we risk runaway memory usage
|
||||||
;; usage in longer sessions.
|
;; in longer sessions.
|
||||||
(setq gc-cons-threshold 134217728) ; 128mb
|
(setq gc-cons-threshold 134217728) ; 128mb
|
||||||
|
|
||||||
;; Prioritize non-byte-compiled source files in non-interactive sessions to
|
;; Prioritize non-byte-compiled source files in non-interactive sessions to
|
||||||
;; prevent loading stale byte-code.
|
;; prevent loading stale byte-code.
|
||||||
(setq load-prefer-newer t)
|
(setq load-prefer-newer t)
|
||||||
|
|
||||||
;; Ensure Doom runs out of this file's parent directory, where Doom is
|
;; Ensure Doom runs out of this file's parent directory, where Doom is
|
||||||
;; presumably installed. Use the EMACSDIR envvar to change this.
|
;; presumably installed. Use the EMACSDIR envvar to change this.
|
||||||
(setq user-emacs-directory
|
(setq user-emacs-directory
|
||||||
|
|
|
@ -33,14 +33,14 @@ envvar will enable this at startup.")
|
||||||
(setenv "HOME" (getenv "USERPROFILE"))
|
(setenv "HOME" (getenv "USERPROFILE"))
|
||||||
(setq abbreviated-home-dir nil))
|
(setq abbreviated-home-dir nil))
|
||||||
|
|
||||||
;; Contrary to what many Emacs users have in their configs, you really don't
|
;; Contrary to what many Emacs users have in their configs, you don't need more
|
||||||
;; need more than this to make UTF-8 the default coding system:
|
;; than this to make UTF-8 the default coding system:
|
||||||
(when (fboundp 'set-charset-priority)
|
(when (fboundp 'set-charset-priority)
|
||||||
(set-charset-priority 'unicode)) ; pretty
|
(set-charset-priority 'unicode)) ; pretty
|
||||||
(prefer-coding-system 'utf-8) ; pretty
|
(prefer-coding-system 'utf-8) ; pretty
|
||||||
(setq locale-coding-system 'utf-8) ; please
|
(setq locale-coding-system 'utf-8) ; please
|
||||||
;; The clipboard's on Windows could be in a wider (or thinner) encoding than
|
;; The clipboard's on Windows could be in a wider encoding than utf-8 (likely
|
||||||
;; utf-8 (likely UTF-16), so let Emacs/the OS decide what encoding to use there.
|
;; utf-16), so let Emacs/the OS decide what encoding to use there.
|
||||||
(unless IS-WINDOWS
|
(unless IS-WINDOWS
|
||||||
(setq selection-coding-system 'utf-8)) ; with sugar on top
|
(setq selection-coding-system 'utf-8)) ; with sugar on top
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
;;; app/everywhere/config.el -*- lexical-binding: t; -*-
|
;;; app/everywhere/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
(use-package! emacs-everywhere
|
(use-package! emacs-everywhere
|
||||||
:defer ; entry point is autoloaded
|
;; Entry points into this package are autoloaded; i.e. the `emacs-everywhere'
|
||||||
|
;; function, meant to be called directly via emacsclient. See this module's
|
||||||
|
;; readme for details.
|
||||||
|
:defer t
|
||||||
:config
|
:config
|
||||||
(after! doom-modeline
|
(after! doom-modeline
|
||||||
(doom-modeline-def-segment emacs-everywhere
|
(doom-modeline-def-segment emacs-everywhere
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue