emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unsolicited patch to image-mode.el -- "fit to window"


From: martin rudalics
Subject: Re: unsolicited patch to image-mode.el -- "fit to window"
Date: Thu, 23 Jul 2015 20:26:19 +0200

+           (wpixels (window-inside-pixel-edges))
+           (wsize (cons (- (nth 2 wpixels) (nth 0 wpixels))
+                        (- (nth 3 wpixels) (nth 1 wpixels)))) ; ditto

Hopefully you should be able to replace this with

+           (wsize (cons (window-body-width nil t) (window-body-height nil t))

martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]