]> git.eshelyaron.com Git - emacs.git/commitdiff
image-dired: Set window-resize-pixelwise to t
authorStefan Kangas <stefan@marxist.se>
Mon, 8 Nov 2021 05:20:21 +0000 (06:20 +0100)
committerStefan Kangas <stefan@marxist.se>
Mon, 8 Nov 2021 05:21:57 +0000 (06:21 +0100)
* lisp/image-dired.el (image-dired-thumbnail-mode): Set
'window-resize-pixelwise' to t.

lisp/image-dired.el

index 76e84f13f34e54ff859d3dd8f971ea3f1ac32526..b67e1e7888f9ba08c93de629d550320aa27eda9c 100644 (file)
@@ -1649,6 +1649,7 @@ You probably want to use this together with
 Use `image-dired-minor-mode' to get a nice setup."
   (buffer-disable-undo)
   (add-hook 'file-name-at-point-functions 'image-dired-file-name-at-point nil t)
+  (setq-local window-resize-pixelwise t)
   (setq-local bookmark-make-record-function #'image-dired-bookmark-make-record)
   ;; Use approximately as much vertical spacing as horizontal.
   (setq-local line-spacing (frame-char-width)))