mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
refactor: avoid needless macro calls
Avoid macros where we really don't need them.
This commit is contained in:
@ -143,9 +143,9 @@
|
||||
;; ...but `set-language-environment' also sets `default-input-method', which is
|
||||
;; a step too opinionated.
|
||||
(setq default-input-method nil)
|
||||
;; ...And the clipboard on Windows could be in a wider encoding (UTF-16), so
|
||||
;; leave Emacs to its own devices there.
|
||||
(eval-when! (not doom--system-windows-p)
|
||||
;; ...And the clipboard on Windows is often a wider encoding (UTF-16), so leave
|
||||
;; Emacs to its own devices there.
|
||||
(unless doom--system-windows-p
|
||||
(setq selection-coding-system 'utf-8))
|
||||
|
||||
|
||||
|
@ -64,8 +64,7 @@ server an expensive restart when its buffer is reverted."
|
||||
(use-package! consult-eglot
|
||||
:defer t
|
||||
:when (modulep! :completion vertico)
|
||||
:init
|
||||
(map! :map eglot-mode-map [remap xref-find-apropos] #'consult-eglot-symbols))
|
||||
:init (define-key eglot-mode-map [remap xref-find-apropos] #'consult-eglot-symbols))
|
||||
|
||||
|
||||
(use-package! flycheck-eglot
|
||||
|
Reference in New Issue
Block a user