Bug#969462: elpa-pdf-tools: annotation editing broken with emacs 27.1
Чт 03 сен 2020 @ 10:13 David Bremner <bremner@debian.org>:
> 3) replace the definition of display-buffer-split-below-and-attach
>
> (defun display-buffer-split-below-and-attach (buf alist)
> "Display buffer action using `pdf-util-window-attach'."
> (let ((window (selected-window))
> (height (cdr (assq 'window-height alist)))
> newwin)
> (when height
> (when (floatp height)
> (setq height (round (* height (frame-height)))))
> (setq height (- (max height window-min-height))))
> (setq newwin (window--display-buffer
> buf
> (split-window-below height)
> 'window alist))
> (pdf-util-window-attach newwin window)
> newwin))
I also confirm that the proposed workaround works for me.
Regards,
Lev
Reply to: