]> git.eshelyaron.com Git - emacs.git/commit
* lisp/image.el: Support image scaling with mouse in other buffer.
authorJuri Linkov <juri@linkov.net>
Sat, 30 Nov 2019 21:21:00 +0000 (23:21 +0200)
committerJuri Linkov <juri@linkov.net>
Sat, 30 Nov 2019 21:21:00 +0000 (23:21 +0200)
commit3c278b4999632621ef9690b319798d4ed752b163
treef539919b4c2fbcc3712ea83719e0b71717402838
parentd64ea182fb6e2bf3af8ac8a289e8029ded36407e
* lisp/image.el: Support image scaling with mouse in other buffer.

* lisp/image.el (image-increase-size, image-decrease-size):
Add optional arg position.
(image-mouse-increase-size, image-mouse-decrease-size):
Use '(point-marker)' for arg position.
(image--get-image): Use get-char-property from position if non-nil,
and its buffer.
(image--get-imagemagick-and-warn, image--change-size):
Add optional arg position.
lisp/image.el