General refactor & reformatting across the board

This commit is contained in:
Henrik Lissner 2020-02-18 22:56:47 -05:00
parent e08e7a4422
commit f7445a10db
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 15 additions and 12 deletions

View file

@ -57,10 +57,10 @@ with a different private module."
(setq command "help")) (setq command "help"))
(when (equal (user-real-uid) 0) (when (equal (user-real-uid) 0)
(message (print!
(concat "WARNING: This script is running as root. This isn't necessary and is likely\n" (concat "WARNING: This script is running as root. This likely wasn't intentional, and\n"
"unintentional. It will cause file permissions errors later if you use this\n" "is unnecessary to use this script. This will cause file permissions errors\n"
"Doom installation on a non-root account.\n")) "later if you use this Doom installation on a non-root account.\n"))
(unless (or doom-auto-accept (y-or-n-p "Continue anyway?")) (unless (or doom-auto-accept (y-or-n-p "Continue anyway?"))
(user-error "Aborted"))) (user-error "Aborted")))

View file

@ -33,9 +33,10 @@ one wants that.")
(and (print! (start "Generating core autoloads...")) (and (print! (start "Generating core autoloads..."))
(doom-cli--write-autoloads (doom-cli--write-autoloads
file (doom-cli--generate-autoloads file (doom-cli--generate-autoloads
(cl-loop for dir in (append (list doom-core-dir) (cl-loop for dir
(cdr (doom-module-load-path 'all-p)) in (append (list doom-core-dir)
(list doom-private-dir)) (cdr (doom-module-load-path 'all-p))
(list doom-private-dir))
if (doom-glob dir "autoload.el") collect it if (doom-glob dir "autoload.el") collect it
if (doom-glob dir "autoload/*.el") append it) if (doom-glob dir "autoload/*.el") append it)
'scan)) 'scan))

View file

@ -54,8 +54,8 @@ Emacs.")
;; searches from the current directory down to / for certain project ;; searches from the current directory down to / for certain project
;; markers, like package.json, setup.py, or Cargo.toml ;; markers, like package.json, setup.py, or Cargo.toml
;; + `projectile-root-top-down-recurring' -> consults ;; + `projectile-root-top-down-recurring' -> consults
;; `projectile-project-root-files-top-down-recurring'; searches from the ;; `projectile-project-root-files-top-down-recurring'; e.g. searches from
;; current directory down to / for a directory that has .svn or Makefile but ;; the current directory down to / for a directory that has Makefile but
;; doesn't have a parent with one of those files. ;; doesn't have a parent with one of those files.
;; ;;
;; In the interest of performance, we reduce the number of project root marker ;; In the interest of performance, we reduce the number of project root marker

View file

@ -480,8 +480,8 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
(defadvice! doom--disable-all-the-icons-in-tty-a (orig-fn &rest args) (defadvice! doom--disable-all-the-icons-in-tty-a (orig-fn &rest args)
"Return a blank string in tty Emacs, which doesn't support multiple fonts." "Return a blank string in tty Emacs, which doesn't support multiple fonts."
:around '(all-the-icons-octicon all-the-icons-material :around '(all-the-icons-octicon all-the-icons-material
all-the-icons-faicon all-the-icons-fileicon all-the-icons-faicon all-the-icons-fileicon
all-the-icons-wicon all-the-icons-alltheicon) all-the-icons-wicon all-the-icons-alltheicon)
(if (or (not after-init-time) (display-multi-font-p)) (if (or (not after-init-time) (display-multi-font-p))
(apply orig-fn args) (apply orig-fn args)
""))) "")))

View file

@ -4,3 +4,5 @@
(package! plantuml-mode :pin "ea45a13707") (package! plantuml-mode :pin "ea45a13707")
(when (featurep! :checkers syntax) (when (featurep! :checkers syntax)
(package! flycheck-plantuml :pin "183be89e1d")) (package! flycheck-plantuml :pin "183be89e1d"))
;; ob-plantuml is provided by org-plus-contrib

View file

@ -1,7 +1,7 @@
;;; term/vterm/config.el -*- lexical-binding: t; -*- ;;; term/vterm/config.el -*- lexical-binding: t; -*-
(use-package! vterm (use-package! vterm
:when module-file-suffix :when (boundp 'module-file-suffix)
:defer t :defer t
:preface (setq vterm-install t) :preface (setq vterm-install t)
:config :config