From 5b2d4a662ba8db94b8a5ad5f201659f5ac09d79c Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Thu, 14 Jul 2011 19:05:43 +0200 Subject: [PATCH] `image-mode-fit-frame' doc fix * image-mode.el (image-mode-fit-frame): Mention that it's a toggle command Fixes: debbugs:7729 --- lisp/ChangeLog | 3 +++ lisp/image-mode.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 088323ee871..66c0e80e23a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2011-07-14 Lars Magne Ingebrigtsen + * image-mode.el (image-mode-fit-frame): Mention that it's a toggle + command (bug#7729). + * rect.el (apply-on-rectangle): Return the point after the last operation. (string-rectangle): Go to the point after the last operation diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 7082cfc57ad..f75f4e20219 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el @@ -271,7 +271,7 @@ stopping if the top or bottom edge of the image is reached." ;; Adjust frame and image size. (defun image-mode-fit-frame () - "Fit the frame to the current image. + "Toggle whether to fit the frame to the current image. This function assumes the current frame has only one window." ;; FIXME: This does not take into account decorations like mode-line, ;; minibuffer, header-line, ... -- 2.39.2