General reformatting & minor refactors
This commit is contained in:
parent
43975d3cd4
commit
c82faf7f10
5 changed files with 7 additions and 7 deletions
|
@ -372,7 +372,7 @@ package.el as appropriate."
|
|||
(cl-check-type name symbol)
|
||||
(doom-initialize-packages)
|
||||
(unless (package-installed-p name)
|
||||
(user-error "%s isn't installed" name))
|
||||
(error "%s isn't installed" name))
|
||||
(when (doom-package-different-backend-p name)
|
||||
(user-error "%s's backend has changed and must be uninstalled first" name))
|
||||
(when (or force-p (doom-package-outdated-p name))
|
||||
|
|
|
@ -76,14 +76,14 @@ If any hook returns non-nil, all hooks after it are ignored.")
|
|||
(after! evil
|
||||
(defmacro define-leader-key! (&rest args)
|
||||
`(general-define-key
|
||||
:states '(normal visual motion insert emacs)
|
||||
:states '(normal visual motion emacs)
|
||||
:keymaps 'doom-leader-map
|
||||
:prefix doom-leader-key
|
||||
:non-normal-prefix doom-leader-alt-key
|
||||
,@args))
|
||||
|
||||
(general-create-definer define-localleader-key!
|
||||
:states '(normal visual motion insert emacs)
|
||||
:states '(normal visual motion emacs)
|
||||
:major-modes t
|
||||
:wk-full-keys nil
|
||||
:prefix doom-localleader-key
|
||||
|
|
|
@ -251,7 +251,7 @@ behavior). Do not set this directly, this is let-bound in `doom|init-theme'.")
|
|||
(setq whitespace-line-column nil
|
||||
whitespace-style
|
||||
'(face indentation tabs tab-mark spaces space-mark newline newline-mark
|
||||
trailing lines-tail)
|
||||
trailing lines-tail)
|
||||
whitespace-display-mappings
|
||||
'((tab-mark ?\t [?› ?\t])
|
||||
(newline-mark ?\n [?¬ ?\n])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue