mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
@ -206,7 +206,8 @@ and enables `+popup-buffer-mode'."
|
|||||||
(when-let (popup (cl-loop for func in actions
|
(when-let (popup (cl-loop for func in actions
|
||||||
if (funcall func buffer alist)
|
if (funcall func buffer alist)
|
||||||
return it))
|
return it))
|
||||||
(+popup--init popup alist)
|
(with-current-buffer buffer
|
||||||
|
(+popup--init popup alist))
|
||||||
(+popup--maybe-select-window popup origin)
|
(+popup--maybe-select-window popup origin)
|
||||||
popup))))
|
popup))))
|
||||||
|
|
||||||
|
@ -168,11 +168,11 @@ prevent the popup(s) from messing up the UI (or vice versa)."
|
|||||||
|
|
||||||
(add-hook 'doom-init-ui-hook #'+popup-mode 'append)
|
(add-hook 'doom-init-ui-hook #'+popup-mode 'append)
|
||||||
|
|
||||||
(add-hook! '+popup-buffer-mode-hook
|
(add-hook '+popup-buffer-mode-hook #'+popup-set-modeline-on-enable-h)
|
||||||
#'+popup-adjust-fringes-h
|
(add-hook '+popup-buffer-mode-hook #'+popup-unset-modeline-on-disable-h)
|
||||||
#'+popup-adjust-margins-h
|
|
||||||
#'+popup-set-modeline-on-enable-h
|
(add-hook '+popup-create-window-hook #'+popup-adjust-fringes-h)
|
||||||
#'+popup-unset-modeline-on-disable-h)
|
(add-hook '+popup-create-window-hook #'+popup-adjust-margins-h)
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user