emacs-diffs
[Top][All Lists]
Advanced

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

master f1f2bbbc08: Improve obsoletion of image-transform-fit-to-{height,


From: Stefan Kangas
Subject: master f1f2bbbc08: Improve obsoletion of image-transform-fit-to-{height, width}
Date: Thu, 18 Aug 2022 17:47:55 -0400 (EDT)

branch: master
commit f1f2bbbc0880f1033feff69fa786d551875ec5e6
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    Improve obsoletion of image-transform-fit-to-{height,width}
    
    * lisp/image-mode.el (image-transform-fit-to-height)
    (image-transform-fit-to-width): Change obsoletion to refer to new
    command 'image-transform-fit-to-window'.
---
 lisp/image-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index 9646d8e4c3..1f4ade6e02 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -1554,14 +1554,14 @@ The percentage is in relation to the original size of 
the image."
 
 (defun image-transform-fit-to-height ()
   "Fit the current image to the height of the current window."
-  (declare (obsolete nil "29.1"))
+  (declare (obsolete image-transform-fit-to-window "29.1"))
   (interactive nil image-mode)
   (setq image-transform-resize 'fit-height)
   (image-toggle-display-image))
 
 (defun image-transform-fit-to-width ()
   "Fit the current image to the width of the current window."
-  (declare (obsolete nil "29.1"))
+  (declare (obsolete image-transform-fit-to-window "29.1"))
   (interactive nil image-mode)
   (setq image-transform-resize 'fit-width)
   (image-toggle-display-image))



reply via email to

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