aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2004-09-22 23:12:38 +0000
committerKim F. Storm2004-09-22 23:12:38 +0000
commitb48bc937991d7e8d2676a842a9b784f91e62ffa1 (patch)
tree63fe7f653c19812844a01660a17f5d9e728fbac8
parented2846bd743339ddf538568f3c0a77888834cb78 (diff)
downloademacs-b48bc937991d7e8d2676a842a9b784f91e62ffa1.tar.gz
emacs-b48bc937991d7e8d2676a842a9b784f91e62ffa1.zip
(insert-sliced-image): Add doc string.
-rw-r--r--lisp/image.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/image.el b/lisp/image.el
index ad8fcafe8de..13fdf2f6e4c 100644
--- a/lisp/image.el
+++ b/lisp/image.el
@@ -228,6 +228,15 @@ height of the image; integer values are taken as pixel values."
228 228
229 229
230(defun insert-sliced-image (image &optional string area rows cols) 230(defun insert-sliced-image (image &optional string area rows cols)
231 "Insert IMAGE into current buffer at point.
232IMAGE is displayed by inserting STRING into the current buffer
233with a `display' property whose value is the image. STRING is
234defaulted if you omit it.
235AREA is where to display the image. AREA nil or omitted means
236display it in the text area, a value of `left-margin' means
237display it in the left marginal area, a value of `right-margin'
238means display it in the right marginal area.
239The image is automatically split into ROW x COLS slices."
231 (unless string (setq string " ")) 240 (unless string (setq string " "))
232 (unless (eq (car-safe image) 'image) 241 (unless (eq (car-safe image) 'image)
233 (error "Not an image: %s" image)) 242 (error "Not an image: %s" image))