From 254ba1d3e5c4499ef56d0452803a7c1011d7712f Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 18 Aug 2022 17:36:54 +0200 Subject: [PATCH] * lisp/image-mode.el: Improve commentary. --- lisp/image-mode.el | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 1eb7cd58c3d..41a87a1a3f2 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el @@ -23,10 +23,14 @@ ;;; Commentary: -;; Defines a major mode for visiting image files -;; that allows conversion between viewing the text of the file, -;; hex of the file and viewing the file as an image. Viewing the image -;; works by putting a `display' text-property on the +;; Defines `image-mode', a major mode for visiting image files. Displaying +;; images only works only if Emacs was built with support for +;; displaying such images. See Info node `(emacs) Image Mode' for +;; more information. +;; +;; There is support for switching between viewing the text of the +;; file, the hex of the file and viewing the file as an image. +;; Viewing the image works by putting a `display' text-property on the ;; image data, with the image-data still present underneath; if the ;; resulting buffer file is saved to another name it will correctly save ;; the image data to the new file. -- 2.39.2