Fix oversized *Org Links* popup in org-mode
At some point, org changed how soon it popped up this window, so +popup-shrink-to-fit would run before there was any content in the buffer, causing it to take up way too much space.
This commit is contained in:
parent
f52008873e
commit
5931d89d9d
1 changed files with 2 additions and 1 deletions
|
@ -137,7 +137,8 @@ unfold to point on startup."
|
|||
(defun +org|setup-popups-rules ()
|
||||
"Defines popup rules for org-mode (does nothing if :ui popup is disabled)."
|
||||
(set-popup-rules!
|
||||
'(("^\\*\\(?:Agenda Com\\|Calendar\\|Org \\(?:Links\\|Export Dispatcher\\|Select\\)\\)"
|
||||
'(("^\\*Org Links" :slot -1 :vslot -1 :size 2 :ttl 0)
|
||||
("^\\*\\(?:Agenda Com\\|Calendar\\|Org \\(?:Links\\|Export Dispatcher\\|Select\\)\\)"
|
||||
:slot -1 :vslot -1 :size #'+popup-shrink-to-fit :ttl 0)
|
||||
("^\\*Org Agenda" :size 0.35 :select t :ttl nil)
|
||||
("^\\*Org Src" :size 0.3 :quit nil :select t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue