mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Make display-buffer-alist regexps case-sensitive #2619
This commit is contained in:
@ -26,6 +26,15 @@
|
|||||||
;;
|
;;
|
||||||
;;; Core functions
|
;;; Core functions
|
||||||
|
|
||||||
|
(defadvice! +popup--make-case-sensitive-a (orig-fn &rest args)
|
||||||
|
"Make regexps in `display-buffer-alist' case-sensitive.
|
||||||
|
|
||||||
|
To reduce fewer edge cases and improve performance when `display-buffer-alist'
|
||||||
|
grows larger."
|
||||||
|
:around #'display-buffer-assq-regexp
|
||||||
|
(let (case-fold-search)
|
||||||
|
(apply orig-fn args)))
|
||||||
|
|
||||||
;; Don't try to resize popup windows
|
;; Don't try to resize popup windows
|
||||||
(advice-add #'balance-windows :around #'+popup-save-a)
|
(advice-add #'balance-windows :around #'+popup-save-a)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user