Skip to content

Commit

Permalink
💄
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter-Chou committed Aug 30, 2023
1 parent 71f2a4a commit 1fc5ce6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 7 additions & 2 deletions early-init.el
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,13 @@

(setq package-enable-at-startup nil)

;; `use-package' is builtin since 29.
;; It must be set before loading `use-package'.
(setq use-package-enable-imenu-support t)

;; In noninteractive sessions, prioritize non-byte-compiled source files to
;; prevent the use of stale byte-code. Otherwise, it saves us a little IO time
;; to skip the mtime checks on every *.elc file.
(setq load-prefer-newer noninteractive)

(when (fboundp 'startup-redirect-eln-cache)
Expand All @@ -54,13 +59,13 @@
(add-to-list 'native-comp-eln-load-path (expand-file-name "data/eln-cache" user-emacs-directory))
)

;; Faster to disable these here (before they've been initialized)
(push '(menu-bar-lines . 0) default-frame-alist)
(push '(tool-bar-lines . 0) default-frame-alist)
(push '(vertical-scroll-bars) default-frame-alist)
(when (featurep 'ns)
(push '(ns-transparent-titlebar . t) default-frame-alist))
(setq-default mode-line-format nil)

;; workaround image-type: Invalid image type svg
(add-to-list 'image-types 'svg)

(setq-default mode-line-format nil)
3 changes: 1 addition & 2 deletions lisp/init-package.el
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
(eval-and-compile
(setq use-package-always-ensure t)
(setq use-package-always-defer t)
(setq use-package-expand-minimally t)
(setq use-package-enable-imenu-support t))
(setq use-package-expand-minimally t))

(eval-when-compile
(require 'use-package))
Expand Down

0 comments on commit 1fc5ce6

Please sign in to comment.