mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Write core initfiles + defuns
This commit is contained in:
13
core/lib/macros-popwin.el
Normal file
13
core/lib/macros-popwin.el
Normal file
@ -0,0 +1,13 @@
|
||||
;;; macros-popwin.el
|
||||
|
||||
;;;###autoload
|
||||
(defmacro add-popwin-rule! (&rest forms)
|
||||
"Register a rule for popwin. See `popwin:special-display-config'.
|
||||
|
||||
Example:
|
||||
(add-popwin-rule! \"^\\*Flycheck.*\\*$\" :regexp t :position bottom :height 0.25 :noselect t)"
|
||||
(declare (indent defun))
|
||||
`(push '(,@forms) popwin:special-display-config))
|
||||
|
||||
(provide 'macros-popwin)
|
||||
;;; macros-popwin.el ends here
|
Reference in New Issue
Block a user