diff --git a/core/core-packages.el b/core/core-packages.el index d54480977..6e626a48d 100644 --- a/core/core-packages.el +++ b/core/core-packages.el @@ -119,7 +119,6 @@ Doom was setup, which can cause problems.") quelpa-verbose doom-debug-mode quelpa-dir (expand-file-name "quelpa" doom-packages-dir) - byte-compile-dynamic nil byte-compile-verbose doom-debug-mode byte-compile-warnings '(not free-vars unresolved noruntime lexical make-local)) diff --git a/core/core-projects.el b/core/core-projects.el index 509b7c244..4446b28ec 100644 --- a/core/core-projects.el +++ b/core/core-projects.el @@ -25,11 +25,11 @@ "node_modules" "flow-typed")) projectile-other-file-alist (append projectile-other-file-alist - '(("css" . ("scss" "sass" "less" "styl")) - ("scss" . ("css")) - ("sass" . ("css")) - ("less" . ("css")) - ("styl" . ("css"))))) + '(("css" "scss" "sass" "less" "styl") + ("scss" "css") + ("sass" "css") + ("less" "css") + ("styl" "css")))) ;; Projectile root-searching functions can cause an infinite loop on TRAMP ;; connections, so disable them. diff --git a/core/core-ui.el b/core/core-ui.el index ffb5585f8..9452ed007 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -677,7 +677,7 @@ confirmation." (setq mode-name (cond ((functionp name) (funcall name)) ((stringp name) name) - (t (error "'%s' isn't a valid name for %s" name major-mode)))))) + ((error "'%s' isn't a valid name for %s" name major-mode)))))) (defun doom|protect-visible-buffers () "Don't kill the current buffer if it is visible in another window (bury it diff --git a/modules/config/default/config.el b/modules/config/default/config.el index 22855bf85..272ad49d7 100644 --- a/modules/config/default/config.el +++ b/modules/config/default/config.el @@ -98,8 +98,9 @@ customized by changing `+default-repeat-forward-key' and (let ((fn-sym (intern (format "+evil*repeat-%s" (doom-unquote command))))) `(progn (defun ,fn-sym (&rest _) - (define-key evil-motion-state-map +default-repeat-forward-key #',next-func) - (define-key evil-motion-state-map +default-repeat-backward-key #',prev-func)) + (define-key! evil-motion-state-map + +default-repeat-forward-key #',next-func + +default-repeat-backward-key #',prev-func)) (advice-add #',command :before #',fn-sym))))) ;; n/N