From 4e908bd525be778aaacc3343b784595af2433681 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 29 Jan 2018 17:39:08 -0500 Subject: [PATCH] Minor refactor & correction --- core/autoload/menu.el | 3 +-- core/core-ui.el | 1 - modules/feature/popup/config.el | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/autoload/menu.el b/core/autoload/menu.el index 325595187..f6f916f11 100644 --- a/core/autoload/menu.el +++ b/core/autoload/menu.el @@ -30,8 +30,7 @@ PROMPT (a string) and COMMAND (a list of command plists; see `def-menu!').") (setq header-line-format (concat (propertize "$ " 'face 'font-lock-doc-face) (propertize command 'face 'font-lock-preprocessor-face))) - (doom-resize-window (get-buffer-window (pop-to-buffer (current-buffer))) - 12))) + (pop-to-buffer (current-buffer)))) ((or (symbolp command) (functionp command)) (call-interactively command)) diff --git a/core/core-ui.el b/core/core-ui.el index 5abe72e63..9b2d00144 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -449,7 +449,6 @@ character that looks like a space that `whitespace-mode' won't affect.") (lwarn 'doom-ui :error "Unexpected error while initializing fonts: %s" (error-message-string ex))))) - (run-hooks 'doom-init-theme-hook)) ;; Getting themes to remain consistent across GUI Emacs, terminal Emacs and diff --git a/modules/feature/popup/config.el b/modules/feature/popup/config.el index 8f8d4d917..2790902cc 100644 --- a/modules/feature/popup/config.el +++ b/modules/feature/popup/config.el @@ -1,4 +1,4 @@ -;;; config.el -*- lexical-binding: t; -*- +;;; feature/popup/config.el -*- lexical-binding: t; -*- (defconst +popup-window-parameters '(transient quit select modeline popup)