Minor refactor & reformatting across the board

This commit is contained in:
Henrik Lissner 2020-04-08 15:29:29 -04:00
parent 2957f5ff28
commit b78fc4eb76
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
27 changed files with 189 additions and 164 deletions

View file

@ -1,5 +1,10 @@
;;; ui/doom/config.el -*- lexical-binding: t; -*-
;;;###package pos-tip
(setq pos-tip-internal-border-width 6
pos-tip-border-width 1)
(use-package! doom-themes
:defer t
:init

View file

@ -1,5 +1,7 @@
;;; ui/fill-column/autoload.el -*- lexical-binding: t; -*-
;; DEPRECATED Replaced by `display-fill-column-indicator-mode' in Emacs 27+
;;;###autoload (autoload 'hl-fill-column-mode "hl-fill-column" nil t)
;;;###autoload

View file

@ -110,6 +110,7 @@ prevent the popup(s) from messing up the UI (or vice versa)."
`(let* ((in-popup-p (+popup-buffer-p))
(popups (+popup-windows))
(+popup--inhibit-transient t)
buffer-list-update-hook
+popup--last)
(dolist (p popups)
(+popup/close p 'force))

View file

@ -3,6 +3,7 @@
(defun +treemacs--init ()
(require 'treemacs)
(let ((origin-buffer (current-buffer)))
;; Toggle treemacs without prompting for the first project.
(cl-letf (((symbol-function 'treemacs-workspace->is-empty?)
(symbol-function 'ignore)))
(treemacs--init))